The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
When running the web app (in visual studio) which calls the power bi rest api, I can successfully login into power bi and retrieve the workgroups from my portal, however, I am unable to retrieve the dataset(s) and report(s) from my portal and it throws an "Unauthorized" error.
Additionally, when testing using postman with the following Power BI endpoints listed below:
https://api.powerbi.com/v1.0/myorg/datasets
https://api.powerbi.com/v1.0/myorg/reports
It returns the following json respnse with status code 200
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could not reproduce it in my side as far as my test. You can check whether the api could return the correct result by try it on the web:
Best Regards,
Community Support Team _ Yingjie Li