Forum Discussion
Fabric Pipeline Parameterisation
- 9 months ago
Hi Kiwi_Mark_LFC , I guess this is a rhetorical question, right? 👉 "Why is Fabric not designed to support Enterprise Analytics?"
So, the next I could possible contribute a bit is "I cannot setup a rule to change the Workspace when deploying a Pipeline with a Semantic Model Refresh activity", so, let me get this straight, you want for instance, to have a for each loop that refreshes different semantic models, hence, changing the activity connection dynamically? If that's it ... then NO, not supported as of now and also, I have to confirm that you can't create the connection in the pipeline with deployment pipeline rules either... two out of two 😢
But what if I tell you USING THE API you CAN DO ALL OF THIS?! Would you be interested in doing a bit of coding and achieve this goal with PowerShell scripts talking directly with the API? nedless to say is not an out-of-the-box, but I can tell you here and now, that I've done this by manipulating the JSON definition on the semantic models and then push this modified version to Fabric via API ... let me know and I can guide you, if you want of of the box solutions... this what's currently available Re: How can I manage environment-specific configur... - Microsoft Fabric Community
"[...] to preserve environment-specific differences we use deployment rules However, for Lakehouse shortcuts we need something: variable libraries. This feature needs to be enabled from the Admin portal, then, we use a variable library to configure our Lakehouse shortcuts per environment"
In a subsequent article, Deployment Pipelines in Fabric: The Right Way to Handle Lakehouse Shortcuts
I did a more detailed explanation on the use of variable libraries and how to use them, and I even recorded a session showing you the whole process using Laksehouse shortcuts as an example, here is the link https://youtu.be/KlDJahBTNq4
Hey, would appreciate a kudos and if you mark this as a solution to your post, MUCH BETTER! All the best and ping me here or via my blog if you have additional questions.
How are you deploying your Fabric items to new workspaces?