The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 it doesn't have to be done manually in UI in the list below.
I don't think the endpoint works for updating it to Cloud Connection.
@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
Proud to be a Super User! | |