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
Restore "no-reply" option for Power BI Subscriptions
Please add a setting in the Power BI Subscription pane to choose the sender identity. With the recent update the platform forces emails to route through the subscription owner's personal Exchange On...LenaFid2 hours agoRegular VisitorNew288Views50likes11CommentsEnforcing OneLake Security on external semantic model API calls without adding security risks
Problem External applications cannot query Fabric semantic models on a user’s behalf - with OneLake RLS security rules enforced - unless the Fabric API is exposed to any and every client an authoriz...sean_cochran4 hours agoResolver INew20Views0likes0CommentsAllow ownership transfer (“Take over”) for Activator items
Activator rules run under the identity of the item’s creator. When that person leaves the organization and their account is disabled, all rules stop working silently. Unlike other Fabric items, there...ndelcastillo5 hours agoRegular VisitorNew27Views1like0Comments