Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Dear All,
I want to get information my report (ID, Link,....) from API (Refer: https://docs.microsoft.com/en-us/rest/api/power-bi/groups/getgroups#code-try-0) by my website portal, I have license pro Powerbi.
Frist, I user Microsoft Graph for login and get token successfully.
Second, When I add in scopes Workspace.Read.All for read workspace PowerBi, the Microsoft Graph can't understand, my webste show error
AADSTS650053: The application 'PHP Graph Tutorial' asked for scope 'Workspace.Read.All' that doesn't exist on the resource '00000003-0000-0000-c000-000000000000'. Contact the app vendor.
I guess Power BI Services is different package of Microsoft Graph. So how can I user Power BI Services for my website.
I refer Laravel for Microsoft Graph here: https://docs.microsoft.com/en-us/graph/tutorials/php
Many thanks for your support.
Solved! Go to Solution.
HI @ptkhoa2110,
I can't find the dataset relate settings on your snapshot, have you enabled them in your azure settings?
The error message seems related to it, maybe you can try it enabled it before the test.
Regards,
Xiaoxin Sheng
HI @ptkhoa2110,
According to your description, it sounds like you are trying to use MS graph toknes to work with power bi rest API.
AFAIK, these API seems not include in MS graph packages. Please check the following link to register the AAD application and confirm its permission on azure site for power bi rest API usage:
Register an Azure AD application to use with Power BI
Regards,
Xiaoxin Sheng
Dear @v-shex-msft ,
I have import SCOPES but it show error:
I already add scope in my Azure Port here:
Many Thanks.
HI @ptkhoa2110,
I can't find the dataset relate settings on your snapshot, have you enabled them in your azure settings?
The error message seems related to it, maybe you can try it enabled it before the test.
Regards,
Xiaoxin Sheng
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
23 | |
3 | |
2 | |
2 | |
2 |