The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 @Anonymous,
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 @Anonymous,
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 @Anonymous ,
I have import SCOPES but it show error:
I already add scope in my Azure Port here:
Many Thanks.
HI @Anonymous,
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