Forum Discussion
Charline_74
Resolver I
3 months agoAutomatically update the connection for a semantic model after deploying it
Hello, I'm looking for a way to automatically change the connection for a semantic model connected to a lakehouse in Azure Data Lake Storage mode. Are there any APIs... Thanks in advance,
- 2 months ago
Hi Charline_74 , Thank you for reaching out to the Microsoft Community Forum.
There is no dedicated REST API that can directly update or rebind the Lakehouse connection for a Direct Lake semantic model after deployment. Direct Lake semantic models work differently from traditional Import or DirectQuery models, so the standard datasource update APIs are generally not applicable here.
Automation can be done through metadata changes using TMDL, TOM/TMSL/XMLA or SemPy/Semantic Link scripting as part of a CI/CD process. In practice, many teams either maintain environment-specific semantic models or automate the replacement of Lakehouse references during deployment.
william1234
Helper II
2 months agonice