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

Re: REST with Reports Fine with Groups 403 Forbidden Error

$
0
0

So I've managed to figure this out and the answer is "Permissions"

 

When originally following the tutorial for the 'Integrate Report Web App' that when you register teh application in the Azure AD to get your 'Client ID' and 'Client Secret' to tick some boxes

 

Azure Permission 1.png

 

So notice that the "Read All Groups" box isn't ticked.

 

So I've gone back and registered the app this time with all boxes ticked

 

Azure Permission 2.png

 

After updating the 'Client ID' and 'Client Secret' in my code I can now read the list of groups with the endpoint:

 

https://api.powerbi.com/v1.0/myorg/Groups

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 50404

Trending Articles



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