Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
As title says, I am unable to delete a particular Shared Query in Fabric SQL Database. For reference I am the query owner.
Please find a screenshot and error message attached
Below is the error message
Update query failed. The user is not the query owner and cannot edit the un-shared query.
Correlation ID: 95318b3f-5294-4ed1-9458-2fb58b5ad4b8
Root Activity ID: 8b6a194f-14eb-42a4-a060-6716bb5a0943
Status: 403
Error Code: SqlDbNative.QueryPersistence.MyQueryUpdateForbiddenNonOwner
Type: Api
Source: User
Solved! Go to Solution.
Can you check the ellipsis (...) next to the parent i.e. the Warehouse and see who's the Owner?
Could you also try moving the shared query by clicking "Move to My Queries" and then try deleting it?
Hi ha729,
We are following up to see if what we shared solved your issue. If you need more support, please reach out to the Microsoft Fabric community.
Thank you.
Thankyou, @deborshi_nag for your response.
Hi ha729,
We appreciate your inquiry through the Microsoft Fabric Community Forum.
We would like to inquire whether have you got the chance to check the solution provided by @deborshi_nag to resolve the issue. We hope the information provided helps to clear the query. Should you have any further queries, kindly feel free to contact the Microsoft Fabric community.
Thank you.
I followed the steps you provided t check the current owner for the shared query and these options don't exist - there is no Manage permissions under the Shared Query area.
Can you check the ellipsis (...) next to the parent i.e. the Warehouse and see who's the Owner?
Could you also try moving the shared query by clicking "Move to My Queries" and then try deleting it?
Hi @ha729
Since you no longer have "query owner" rights, you have two pragmatic options:
Duplicate the Query & Delete Unshared Copy
Change Ownership or Permissions
You can also check who is the current owner for the shared query.
Hope this helps - please appreciate leaving a Kudos or accepting as a Solution!
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 16 | |
| 10 | |
| 9 | |
| 8 |