Power BI ID Reference
This reference contains instructions on how to find the relevant Id within Power BI
Workspace Id
Navigate via your browser to the workspace, the URL will be in the format
https://app.powerbi.com/groups/{Group Id}
Copy the group id from the URL making sure to remove any “/” at the end or beginning
Report Id
Navigate via your browser to the report within its workspace, the URL will be in the format
https://app.powerbi.com/groups/{Group Id}/reports/{Report Id}
Copy the report id from the URL making sure to remove any “/” at the end or beginning
Dashboard Id
Navigate via your browser to the report within its workspace, the URL will be in the format
https://app.powerbi.com/groups/{Group Id}/dashboards/{Dashboard Id}
Copy the dashboard id from the URL making sure to remove any “/” at the end or beginning
Dataset Id
Navigate via your browser to the dataset within its workspace then to the settings for that dataset

The URL will be in the format
https://app.powerbi.com/groups/{Group Id}/settings/datasets/{Dataset Id}
Copy the dataset id from the URL making sure to remove any “/” at the end or beginning
App Id
Navigate via your browser to the app, the URL will be in the format
https://app.powerbi.com/groups/me/apps/{App Id}/reports/{Report Id}
Copy the app id from the URL making sure to remove any “/” at the end or beginning
Gateway Id
Navigate to the manage gateways menu located within the settings (The cog icon on the top right)

Select the gateway you want from the list of gateways on the left
The URL will be in the format
https://app.powerbi.com/groups/me/gateways/{Gateway Id}
Copy the gateway id from the URL making sure to remove any “/” at the end or beginning
Datasource Id
Navigate to the manage gateways menu located within the settings (The cog icon on the top right) See the image above.
Select the datasource from within the gateway

The URL will be in the format
https://app.powerbi.com/groups/me/gateways/{Gateway Id}/{Datasource Id}
Copy the gateway id from the URL making sure to remove any “/” at the end or beginning
Premium Capacity Id
There are two ways to find this id, through the Power BI Service or through the REST API. However, both methods require capacity admin rights
Power BI Service
First navigate to the admin portal, then to capacity settings. You can do this via the UI or click this link
https://app.powerbi.com/admin-portal/capacities
Then click the cog icon on the capacity you want, then at the bottom of the pane it will display the capacity id.
REST API
Run the GET Capacities API call
https://docs.microsoft.com/en-us/rest/api/power-bi/capacities/get-capacities
The easiest way to do this is to click the green Try It button on the link above
After signing in with your account click the green Run button.
The response body will contain a list of all capacities that your account has access to, the capacity id is located in the if field within the response