Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi, I am trying to publish (from Azure Data Studio) a simple project (containing only 1 table) into Warehouse in Azure Fabric. But I am getting this error:
"Deploy dacpac: Could not deploy package.
Error SQL72014: Core Microsoft SqlClient Data Provider: Msg 15151, Level 16, State 1, Line 1 Cannot drop the schema '_rsc', because it does not exist or you do not have permission.
Error SQL72045: Script execution error. The executed script:
DROP SCHEMA [_rsc];"
I don't understand why Publish trying to touch this schema, since this should be some system managed schema.
The only way I was able to Publish project without this error was with un-checked publish option "Drop objects not in source". But this is not kind of practical for object deployments for my project. Tryied also other Publish Options, but nothing else helped.
Do you have any ida what is wrong or what I am doing wrong?
Thanks
Peter
Solved! Go to Solution.
HI @miner182 this issue is currently with MS as it has been raised previously. In the meantime and something that I do, is add the _rsc and queryinsights schema to your project. Easy to do with the schema compare. This then means you don't have to disable the "drop objects not in source".
Good to hear, I know it's not ideal but at some point this issue will be resolved by MS.
HI @miner182 this issue is currently with MS as it has been raised previously. In the meantime and something that I do, is add the _rsc and queryinsights schema to your project. Easy to do with the schema compare. This then means you don't have to disable the "drop objects not in source".
HI @miner182,
I think these operations does not have the permissions to directly modify or delete the existing contents during publish steps. So these operations can work when you turn off the option "drop objects not in source".
In my opinion, I think these data shaping and cleaning operation can be processed on the fabric warehouse instead of directly executed in the publish steps.
Regards,
Xiaoxin Sheng
User | Count |
---|---|
3 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
12 | |
8 | |
4 | |
3 | |
2 |