Forum Discussion
ericOnline
5 years agoPost Patron
URL, Scope and Grant_type to use when creating a PBI REST API access_token?
Hello, I have an app registered within Azure. I'm able to make a token request to login.microsoft.com and get a successful response and receive an access_token. However, when I try to use thi...
Dayspring
3 years agoRegular Visitor
How to provide access to the workspace and also please provide the list of scopes that I should use while authenticating, as of now, I'm using the below scopes.
openid
offline_access
AmosHersch
3 years agoMicrosoft Employee
Dayspring each API has the list of required scopes, so it depends on which API you are using. You should follow the docs, for example: Reports - Get Reports In Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
For permissions you can either provide permissiong through Power BI portal as described here Roles in workspaces in Power BI - Power BI | Microsoft Learn or use an API to provide permissions Groups - Add Group User - REST API (Power BI Power BI REST APIs) | Microsoft Learn