Forum Discussion
meiwah
4 years agoResolver I
Power BI Rest API Postman "Try-it"
Hi, I used to obtain the Access Token from the "Try-it" feature at https://docs.microsoft.com/en-us/rest/api/power-bi/admin But now it is unavailable, so I used Postman, with the below pa...
meiwah
4 years agoResolver I
Hi Mariussve1, thks! I've pasted the Access Token under the Authorization tab in Postman but I still get the error "Unauthorized". Pls help
mariussve1
4 years agoSolution Sage
Are you using Service Principal (Tenant-, -App and Secret ID) ?
If yes, then you need to put this service principal in a security group in AAD (Azure AD). Then you have to permit this security group to the workspace you are running the REST API against.
If you want to use the admin API's you have to grant accesst to this in the tenant settings:
Br
Marius
- meiwah4 years agoResolver I
Thks Marisussve1! I've found another work around to acheive what I want to do. It is the custom connector Power BI API by Miguel Escobar