Forum Discussion
Azure sql managed instance mirror to Fabric - Error
Hello Community,
I am facing an issue while attempting to mirror an Azure SQL Database to Fabric OneLake. During the process, I encountered the following error:
The database cannot be mirrored to Fabric due to below error: A database operation failed with the following error: 'Invalid object name 'sys.dm_server_managed_identities'.' Invalid object name 'sys.dm_server_managed_identities'., SqlErrorNumber=208,Class=16,State=1,
when i execute SELECT * FROM sys.dm_server_managed_identities; in ssms i get Msg 208, Level 16, State 1, Line 1
Invalid object name 'sys.dm_server_managed_identities'.
The data base is stored in a azure sql managed instance.
Any guidance or recommendations from the community would be greatly appreciated!
Thnks in advance
Hi jmalcober currently only Azure SQL Database is supported with Fabric Mirroring, no support yet for Managed Instance
7 Replies
- tlanza89_RWLAdvocate I
Hi AndyDDC I see that you said "yet". Is there any plan to support a Managed Instance in the future?
- barcoyoloNew Member
It does support it now...Microsoft Fabric Mirrored Databases From Azure SQL Managed Instance (Preview) - Microsoft Fabric | Microsoft Learn but still have the same error occuring
- gcarvalhoFrequent Visitor
Having the same issue here, we do have a public endpoint setup and I can connect to the server from Dataflow Gen2, Power Query, or Notebooks, but mirroring won't work.
- gcarvalhoFrequent Visitor
barcoyolo I'm not sure if you were able to get it to work, but I was finally able to after trying everything under the sun. To be more specific we tried everything until we changed the policy to be Always up to date, that made it work like magic.
1. Enable System Assigned Managed Identity
2. Updated the Policy for source Azure SQL Managed Instance configured to "Always up to date"
- MichaelCrockerNew Member
Hi jmalcober
We're facing similar challenge with Fabric and SQL MI. Very frustrating. Hopefully Microsoft will resolve it soon.