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.
Hi,
When i am accessing(https://api.powerbi.com/v1.0/collections/indriynpoerbiapp/workspaces) url with Authorization AppKey , always i am getting 403 Forbidden error, so please any body help me how to get workspace id
Regards,
KotiReddy.
Solved! Go to Solution.
Per the documentation and my test, the correct URL to request the workspaces is as below.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/workspaces?api-version=2016-01-29
And the authorization is still using an token, you can check the function GetWorkspaceCollectionMetadata in power-bi-embedded-integrate-report-into-web-app.
Per the documentation and my test, the correct URL to request the workspaces is as below.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/workspaces?api-version=2016-01-29
And the authorization is still using an token, you can check the function GetWorkspaceCollectionMetadata in power-bi-embedded-integrate-report-into-web-app.
Hi v-ivzhan-msft thank you for giving me response, can you please send me exact url for getting workspace id, already i saw this url( /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.PowerBI/workspaceCollections/{workspaceCollectionName}/workspaces?api-version=2016-01-29), but i don't know the hostname(like https://api.powerbi.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/...) for starting of this url
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 |