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.
I am using Powersehll in Azure run book with Service principal account to connect PowerBI. However, I am unable to fetch the datasource with the help of Report ID.
I've tried the below API to get the datasources based on the reportid but powershell encountered an error.
GET https://api.powerbi.com/v1.0/myorg/reports/{reportId}/datasources
Source Code example.
/*
Hi, @krish11
Can you provide more error information?
You can also open a support ticket to let engineers look into the issue on your side.
https://powerbi.microsoft.com/en-us/support/pro/
Best Regards,
Community Support Team _ Eason
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.