Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 4 | |
| 3 | |
| 3 |