Power BI App Owns Data Application Error: Unauthorized (401)

Deepali Phal 21 Reputation points
2020-10-13T19:58:01.057+00:00

Hi I am trying to integrate a report into an application using the Power BI .NET SDK with the Power BI JavaScript API. I followed the steps in the below tuitorial:
https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers#:~:text=App%20owns%20data%20is%20about%20having%20an%20application,requiring%20users%20to%20have%20a%20Power%20BI%20license.

I am using ServicePrincipal. When I run my .config script, I am getting the error status "Unauthorized (401)".

I have added the Power BI API to the registered app and granted all permissions.

How can I fix this?

Thanks in advance!

Community Center Not monitored
0 comments No comments
{count} votes

Accepted answer
  1. Leon Laude 86,026 Reputation points
    2020-10-13T20:09:23.32+00:00

    Hi @Deepali Phal ,

    PowerBI is currently not supported in the Q&A forums, the supported products are listed over here https://learn.microsoft.com/en-us/answers/products (more to be added later on).

    You can ask the experts in the dedicated PowerBI forum over here:
    https://community.powerbi.com/t5/Forums/ct-p/PBI_Comm_Forums

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.