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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
anmolmalviya05
Super User
Super User

Mirroring in fabric

I'm trying to test mirroring feature in Microsoft fabric, I have database on azure sql database and i'm trying to mirror it to fabric warehouse, on setting up the connection I'm getting below error
The database cannot be mirrored to Fabric due to below error: User does not have permission to mirror the database.

anmolmalviya05_0-1721726840037.png

What are the permission required for it and where to set it up

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. There might be some configurations you might be missing, like enabling manage identities. Please check this docs that shows exactly each configuration you need to make it work:

https://learn.microsoft.com/en-us/fabric/database/mirrored-database/azure-sql-database-tutorial#prer...

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

2 REPLIES 2
NickA01
Resolver III
Resolver III

I've been trying to do this using an Azure Service Principle this morning. 
A couple of failures but once I adjusted the Db I wanted to mirror to use the appiropriate compute, got it working. 

The issues I had were on the source db side. 

Here's my script --> Hope it helps someone. 

/********************************************************************** 

* Steps to mirror a DB into Fabric using an Azure Service Principle * 

*    

* 

* create LOGIN [ <ServicePrincipleName> ] FROM EXTERNAL PROVIDER; 

* 

* ALTER SERVER ROLE [##MS_ServerStateReader##] ADD MEMBER [<ServicePrincipleName>]; 

*-------------------------------------------------------------------------------------- 

* 

* Now  switch to the db to be mirrored  

* 

* CREATE USER [<ServicePrincipleName>] FOR LOGIN [<ServicePrincipleName>]; 

* GRANT CONTROL TO [<ServicePrincipleName>]; 

* 

**************************************************************************/ 

 

The Nick

If the post helps please give a thumbs up || If it solves your issue, please accept it as the solution to help the other members find it more quickly.

If it's the biggest heap of stinky smelly stuff then I'm sorry .

ibarrau
Super User
Super User

Hi. There might be some configurations you might be missing, like enabling manage identities. Please check this docs that shows exactly each configuration you need to make it work:

https://learn.microsoft.com/en-us/fabric/database/mirrored-database/azure-sql-database-tutorial#prer...

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Solution Authors