March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi all. I am just looking at testing some of the database mirroring features in Fabric but am currently hitting this error:
The database cannot be mirrored to Fabric due to below error: User does not have permission to mirror the database.
I am the tenant admin and have enabled Database mirroring for the capacity and tenant for selected security groups, and added a group of which I am a member. I am connecting using a service principal and can see the tables in the database, and select the ones I want to mirror, but when I press mirror it presents the above error message. Anyone any ideas where I'm going wrong?
Solved! Go to Solution.
Hi,
I switched the connection credentials to my own, and it worked ok, which narrowed it down to something on the service principal permissions. I've not had the chance to go back and look into it further as something else came up.
Thanks for using Microsoft Fabric Community.
Apologies for the inconvenience.
The error message that you are encountering typically indicates an issue with the authentication process. Since you aree connecting to an Azure SQL Database, ensure that:
The error message you encountered when configuring mirroring suggests that a managed identity for your SQL Server needs to be set up and turned on. Managed identities are crucial for secure, seamless authentication between Azure services.
For additional information please refer : Enable System Assigned Managed Identity (SAMI) of your Azure SQL logical server
I hope this information helps. Please do let us know if you have any further questions.
Thanks.
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.
Thanks.
Hi,
I switched the connection credentials to my own, and it worked ok, which narrowed it down to something on the service principal permissions. I've not had the chance to go back and look into it further as something else came up.
I’m encountering the same error. Could you provide a step-by-step guide with screenshots to help me resolve this issue?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 |
User | Count |
---|---|
8 | |
6 | |
5 | |
4 | |
4 |