Forum Discussion
Sempy Labs + Azure DevOps
Hi Charline_74,
Yes, Azure DevOps can orchestrate Semantic Link Labs, but I would make one distinction.
You can install the semantic-link-labs Python package directly on an Azure DevOps agent, but the library is primarily designed for use inside Fabric notebooks, and not every function is guaranteed to work headlessly outside Fabric because some rely on Fabric context or authentication.
For CI/CD, I would normally keep the Semantic Link Labs code in a Fabric notebook and trigger that notebook from Azure DevOps.
Microsoft now supports running Fabric notebooks through the public API, including execution with a service principal or managed identity.
So the pattern would be:
Azure DevOps -> Fabric notebook API -> notebook -> semantic-link-labsThat gives you a cleaner execution environment and avoids having to reproduce Fabric notebook context on the DevOps agent.
If you do want to execute the Python directly on the agent, the package is:
pip install semantic-link-labsSemantic Link Labs also supports service principal authentication for functions whose underlying APIs support it, so whether direct execution works depends on the specific module/function you want to call.
If you share which Semantic Link Labs function you want to automate, I can probably narrow down which of the two approaches fits better.
AI-assisted drafting: AI was used to help structure and phrase this response. I reviewed and validated the technical content before posting.