Forum Discussion

Lauger's avatar
Lauger
Regular Visitor
3 years ago
Solved

Custom USERPRINCIPALNAME() when consumming API through Service Principal

Hi,   I have to embed some Power BI reports in several applications. I use an Azure Service Principal (client id, client secret) to generate an access token and call the Power BI API. All is workin...
  • Lauger's avatar
    3 years ago

    It took me a long time before being able to figure out the best solution.

    Using service principal was not the best approach in order to take the user's rights in account.

    So I had to focus on the other way (more complicated for novice as I am) to embed reports, based on user's scope delegation located in the Azure application.