Forum Discussion
Automating the location and replacement of PbiServiceModelId
In a project I am working on, we have utilized the Golden Dataset format.
In doing so, we have created Golden Datasets and reports in our development Workspaces.
In moving to the next step (QA/Staging), we would like to automate the shift from Dev to QA, which means different DB names and server names.
In automating the process of uploaded files from our git repository, it looks like we have to locate and replace the PbiServiceModelId. Currently, we do this manually. HAs anyone automated this process?
Or, has anyone created a similar process using the deployment pipelines, which will automatically change to point at the new environment per files amended? Thanks.
- Anonymous4 years ago
Hi joebrown42,
Based on my research, I didn't find a direct way to automatically locate and replace the PbiServiceModelId... Here is some documentations that introduces the pipeline and change PbiServiceModelId, hope it will help you.
1. Pipeline
Automate deployments with deployment pipelines API (preview)
Automate your deployment pipeline using APIs and Azure DevOps
2. Change the PbiServiceModelId
Getting the PbiServiceModelId so we can change the dataset against a report (pbix file).
Power BI Management module for Windows PowerShell
Best Regards
1 Reply
- AnonymousNot applicable
Hi joebrown42,
Based on my research, I didn't find a direct way to automatically locate and replace the PbiServiceModelId... Here is some documentations that introduces the pipeline and change PbiServiceModelId, hope it will help you.
1. Pipeline
Automate deployments with deployment pipelines API (preview)
Automate your deployment pipeline using APIs and Azure DevOps
2. Change the PbiServiceModelId
Getting the PbiServiceModelId so we can change the dataset against a report (pbix file).
Power BI Management module for Windows PowerShell
Best Regards