Forum Discussion
Suddenly lost access to a shortcut from a Notebook
- 1 year ago
I did not find the permission issue. I just changed the way to read the file
try:df = spark.read.option("multiline", "true").json(schema_file)json_data = df.toJSON().collect()schema = json.loads(json_data[0]) # Convert first row to a dictionaryexcept Exception as e:print(f"Error reading model.json: {e}")return {}
Hi gerardotrejogcg ,
Thank you for reaching out to us on Microsoft Fabric Community Forum!
I would take a moment to personally thank nilendraFabric for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.
As Niledra suggested,if the notebook is accessing a shortcut to a remote data source, it uses the Lakehouse owner’s identity rather than the notebook user’s identity. If the owner does not have the necessary permissions on either the Lakehouse shortcut or the target data source, access will fail.
If still facing difficulty in resolving the issue, please feel free to reachout.
If this post helps, please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Regards,
Pallavi.
I did not find the permission issue. I just changed the way to read the file
- Anonymous1 year agoNot applicable
Hi gerardotrejogcg ,
Just to confirm, are you saying that the issue is resolved with the new reading method, or are you still facing an error? If it's resolved, please accept it as a solution. It will be helpful for other members of the community who have similar problems as yours to solve it faster.
Thank you.