Forum Discussion
Power BI Service connection: change from dev to production
- Anonymous9 years ago
AlexeyRusinov,
In Step 2, I replace PbiServiceModelId rather than PbiServiceGroupId, then save the Connections file and rename it back to PBIX.
Regards,
Lydia
Hi,
Had the same issue. If it can help, the PbiServiceModelId property is the Dataset's "id" property.
You can get it using a variety of ways:
a. Create another PowerBI report referencing the dataset you want the ID of, save it, extract it, and look in the Connections file
b. Use the PowerBI REST API (eg. Get Dataset By ID in Group in my case) - note that this requires authentication, as your browser isn't authenticated on api.powerbi.com
c. Using Chrome or any other developer-friendly browser, open the report list, the Developer Tools, and look in the network responses (in particular, a response from https://*.analysis.windows.net/powerbi/metadata/app), and check the models property for a list of your available datasets in your current workspace.
Hi bcrosnier
Thanks for your information.
Unfortunately, in case b) the link to get the PbiServiceModelId of a dataset does not work.
Any solutions to get the PbiServiceModelId via API?