Activity
Mon
Wed
Fri
Sun
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
What is this?
Less
More

Memberships

Learn Microsoft Fabric

14.3k members โ€ข Free

2 contributions to Learn Microsoft Fabric
Notebook ownership and deployment rules
Just wanted to highlight this issue raised by Dennes Torres please comment and up-vote to raise its profile. The issue: You must be the owner of a notebook to apply deployment rules, and notebook owners cannot be changed. Current workarounds: 1. Backup the notebook and re-import under the desired user. 2. Initially create the notebook under a shared user account (most businesses wont like this one). Personally I would like the requirement to be the notebook owner to be removed, but failing that a "take over" button would be great. NB: This is also true of warehouses but their ownership can be changed via an API call
0 likes โ€ข Jul '24
Sadly neither option ended up working for me in the end. When trying to use option 1 utilising abfss paths the notebook would hold onto the default workspace I had set when writing it, or if I removed it complain that it could not execute the script without having a default lakehouse set. Option 2 was a no go because although I could parameterise my default lakehouse, I could not set other parameters for use later on in the notebook. I have set the default lakehouse using deployment rules and left the notebooks refactored to use the abfss paths, just encase I ever figure out a way to get it working ๐Ÿ˜€
0 likes โ€ข Jul '24
@Will Needham Apologies in all of my digging I got mixed up and forgot that your solution was a single approach that involved the notebook working out for itself its local workspace. I was trying to feed this information in using a Fabric pipeline, which in turn made me loose the ability to set other parameters. If you are thinking about making a video on this, that would be amazing, because I cant find anywhere else going into the nuances of this. Here are a couple of things I have come up against, and please feel free to correct anything I have got wrong. 1. The %%configure statement must be in cell 1 of the notebook, otherwise you receive an error "MagicUsageError: The current running Livy session must be restarted for the config changes to take effect. Specify the argument "-f" to force restarting Livy session. Any variables stored in memory will be cleared." This is also where I struggle to implement your solution as I cant use the environment_switcher logic before %%configure statement or within the same cell. 2. You can parameterise the %%configure statement to receive dynamic inputs from a fabric pipeline, but in doing so loose the ability to use other parameters later in the notebook. 3. If you try to work around the issue by not assigning a default lakehouse and only using abfss paths to read and write to other lakehouses in separate workspaces. You will receive an error that the notebook cannot run without a default lakehouse being assigned. In addition to this I have tested leaving a default lakehouse assigned but it also give errors when deployed to another environment.
๐Ÿ‘‹ New joiner? Welcome! Start here ๐Ÿ‘‡
Welcome to all new members, here's some links and information to help you get started! ๐—ค๐˜‚๐—ถ๐—ฐ๐—ธ ๐—Ÿ๐—ถ๐—ป๐—ธ๐˜€ ๐˜๐—ผ ๐—ด๐—ฒ๐˜ ๐˜€๐˜๐—ฎ๐—ฟ๐˜๐—ฒ๐—ฑ - For an introduction to this community โ†’ Explore the Welcome Pack - New-ish to Fabric? โ†’ Check out our Fabric Foundation module - Studying for the DP-600? โ†’ Check out the DP-600 Module and the DP-600 category - Studying for the DP-700? โ†’ Check out the DP-700 Module and the DP-700 category - Want to get hands-on? โ†’ Check out Fabric Dojo ๐—›๐—ผ๐˜„ ๐˜๐—ผ ๐—ฒ๐—ป๐—ด๐—ฎ๐—ด๐—ฒ ๐˜„๐—ถ๐˜๐—ต ๐˜๐—ต๐—ฒ ๐—ฐ๐—ผ๐—บ๐—บ๐˜‚๐—ป๐—ถ๐˜๐˜†? - Share your knowledge and experience! Even if you're relatively new to Fabric, or the community, your opinion and experiences are valued here! A great way to earn your first point(s) is to introduce yourself in the thread below ๐Ÿ‘‡๐Ÿ˜€ Thank you for engaging and joining us on this exciting learning journey! ๐Ÿ™ Will
2 likes โ€ข Jul '24
Hi, I'm Ben, I'm from the UK, I work as a Data Engineer I'm really interested in learning more about CD/CD.
1-2 of 2
Ben Vaughan
2
12points to level up
@ben-vaughan-2911
Hi I'm Ben, a data engineer working in the space for about 8 years. Recently moved to the Fabric architecture.

Active 339d ago
Joined Jul 11, 2024
Powered by