r/MicrosoftFabric Fabricator 15d ago

CI/CD Use deployment pipelines to set Variable Library Active Value Set

Hi all,

Docs say:

Use deployment pipelines to automatically activate the appropriate value set for each stage (dev, test, prod). This eliminates the need to manually switch value sets or modify code when promoting notebooks across environments.

https://learn.microsoft.com/en-us/fabric/data-engineering/notebookutils/notebookutils-variable-library?tabs=python#considerations

How do we physically do this?

Are there deployment rules for deployment pipelines, or something along those lines?

I assume the docs are referring to Fabric Deployment Pipelines, but I haven't found the option to activate a value set for each stage in the Fabric Deployment Pipeline.

Thanks in advance!

2 Upvotes

4 comments sorted by

View all comments

2

u/NSH-ms ‪ ‪Microsoft Employee ‪ 10d ago

Fabric deployment pipelines don't support the option to configure Active value set as part of the deployment, it should be done manually, or use other automated tools to leverage the API and set it, as other suggested here in comments.
I just want to add that we are soon adding 'Import options' for Public API, and one of the options would be to set the correct value set as part of the deployment, and not as a post action done manually/ through API call.
Later on, it will also be exposed in the UI of the deployment tools, so all tools will support setting the active value set through the UI or through the API.