When deploying notebooks across workspaces via Fabric deployment pipelines, the attached environment does not adapt to the target workspace. I have to manually reconfigure each notebook after every deployment, which is error-prone.
My current setup is simple with 2 workspaces:
- Dev workspace → small capacity, notebooks run on the Starter Pool
- Prod workspace → large capacity, notebooks run on custom pools
After deployment from Dev to Prod, every notebook falls back to the workspace default, which isn't what I want in Prod - I need notebooks pointed at specific environment. I have to click into each notebook to repoint it.
Can we have deployment rules for this? Or is there something I can already do to avoid manual work?
1 Comment
- Josh_SSNew MemberYou can use the magic command to set the capacity for the notebook and you can use a workspace variable as the value you set for the capacity setting. For example you can use this: %%configure { "conf": { "spark.sql.shuffle.partitions": "200", "spark.executor.memory": "28g", "spark.driver.memory": "28g" } }
Recent ideas
New Advanced Editor hides query name and locks editor window
Classic Power Query 'Advanced editor' opens as a separate movable, resizable window with the query name as its title. One could drag and keep the main editor visible : queries pane, applied steps, d...Mardurolla2 hours agoRegular VisitorNew6Views0likes0CommentsGet Secret from Azure Key Vault using Fabric Workspace Identity
Users can access key vault secrets using notebookutils.credentials.getSecret. This is based purely on the user's access (or object owner's access, if the notebook is being run in a pipeline). In larg...sean_cochran2 hours agoResolver INew3.1KViews14likes3CommentsNew Power Query experience: Advanced Editor modal hides query name, and locks the editor
In the classic Power Query editor, the Advanced Editor opens as a separate, movable, resizable window titled “Advanced Editor – QueryName”. I routinely drag it to a second monitor and keep the main e...lamogiro3 hours agoNew MemberNew5Views0likes0CommentsPaginated Reports with PowerQuery - Cloud connections for Snowflake connector
Current situation: Power BI report builder used to build a report using Power Query dataset. Report builder picked the right cloud snowflake DB connection (created in Power BI service portal - app...jarjis_nbcu3 hours agoNew MemberNew2Views0likes0CommentsNew Power Query experience: Advanced Editor modal hides query name, and locks the editor
In the classic Power Query editor, the Advanced Editor opens as a separate, movable, resizable window titled “Advanced Editor – QueryName”. I routinely drag it to a second monitor and keep the main e...Mardurolla3 hours agoRegular VisitorNew8Views0likes0Comments