Forum Discussion
udione
1 year agoHelper I
Semantic model change Connection with rest API to map to a different connection
Is there a rest API endpoint to update semantic model connection to map to a different connection. I'm looking for automated way to change the semantic model connection that it is mapped to. So i...
Jai-Rathinavel
1 year agoSuper User
udione You can update the Semantic Model's datasources via the below API. You will need Dataset.ReadWrite.All scope for your application.
Link to Update Datasources API Documentation: https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/update-datasources-in-group
Did I answer your question ? Please mark this post as a solution.
Thanks,
Jai