Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
miner182
Regular Visitor

Data Project publish into Azure Warehouse (_rsc schema problem)

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

 

1 ACCEPTED SOLUTION
AndyDDC
Super User
Super User

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".  

 

AndyDDC_0-1725290184628.png

 

 

 

View solution in original post

4 REPLIES 4
miner182
Regular Visitor

It worked for me, thanks @AndyDDC  🙂

Good to hear, I know it's not ideal but at some point this issue will be resolved by MS.

AndyDDC
Super User
Super User

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".  

 

AndyDDC_0-1725290184628.png

 

 

 

Anonymous
Not applicable

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

Helpful resources

Announcements
September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.