Quantcast
Channel: All Developer posts
Viewing all articles
Browse latest Browse all 48937

Re: Cannot access Admin APIs with service principal via ADF

$
0
0

Hi  @cmjcf ,

 

According to the documentation, when using the PBI admin REST API with service principal authentication,” When running under service prinicipal authentication, an app must not have any admin-consent required premissions for Power BI set on it in the Azure portal. ”

vyangliumsft_0-1724662423828.png

Admin - Datasets GetDatasetUsersAsAdmin - REST API (Power BI Power BI REST APIs) | Microsoft Learn

According to my understanding, this means you can try removing all PBI-related API permissions, keeping only the tenant settings enabled, and then check if the API can successfully run using service principal authentication

 

vyangliumsft_1-1724662423836.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


Viewing all articles
Browse latest Browse all 48937

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>