Forum Discussion
Changing server/database for multiple semantic models without republishing
- 6 months ago
Hey Mohamadmonem ,
You can use the Update Datasources REST API to update multiple semantic models programmatically:
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources
This is ideal if:
You have many models
You want to avoid manual work
You’re comfortable using PowerShell or automation
If it solved your issue, feel free to mark it as the solution so others can benefit too.
Thanks for being part of the community.
Hey Mohamadmonem ,
You can use the Update Datasources REST API to update multiple semantic models programmatically:
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources
This is ideal if:
You have many models
You want to avoid manual work
You’re comfortable using PowerShell or automation
If it solved your issue, feel free to mark it as the solution so others can benefit too.
Thanks for being part of the community.