Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredJoin us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered
Hi,
Using the MS tutorial I have followed all the steps. Despite that I get the following error (the tables load):
The Server admin of the Azure SQL DB is Admin Object/App ID. My super user credentials are used to access the Azure SQL DB. I login to Fabric using my normal user ID. I have created all these users and granted the permissions mentioned in the tutorial Document for all the users. SQL Admin, my Super user and the normal user credentials. But despite that I get the error:
The database cannot be mirrored to Fabric due to below error: Unable to retrieve SQL Server managed identities. A database operation failed with the following error: 'VIEW SERVER SECURITY STATE permission was denied on object 'server', database 'master'. The user does not have permission to perform this action.' VIEW SERVER SECURITY STATE permission was denied on object 'server', database 'master'. The user does not have permission to perform this action., SqlErrorNumber=300,Class=14,State=1
Solved! Go to Solution.
Hello @jsarali ,
Thank you for reaching out to Microsoft Fabric Community Forum.
@lbendlin Thank you for your quick response.
When configuring Azure SQL Database mirroring to Microsoft Fabric, the following error may occur:
"Unable to retrieve SQL Server managed identities. VIEW SERVER SECURITY STATE permission was denied on object 'server', database 'master'. The user does not have permission to perform this action."
This error is caused by missing server-level permissions. Even if the user has full database-level access, Microsoft Fabric requires visibility into server security metadata to complete the mirroring process.
You can try,
GRANT VIEW SERVER STATE TO [UserOrServicePrincipal];
GRANT VIEW SERVER SECURITY STATE TO [UserOrServicePrincipal];
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! |
Regards,
B Manikanteswara Reddy
This issue got resolved once I could grant the necessary permisions and after increasing the DTUs on the Azure SQL Database.
This issue got resolved once I could grant the necessary permisions and after increasing the DTUs on the Azure SQL Database.
Hello @jsarali ,
It looks like your problem has been solved, please mark the helpful reply and accept it as solution, it will be helpful for other members of the community who have similar problems as yours to solve it faster .
Thank you very much for your kind cooperation!
Regards,
B Manikanteswara Reddy
Hello @jsarali ,
Thank you for reaching out to Microsoft Fabric Community Forum.
@lbendlin Thank you for your quick response.
When configuring Azure SQL Database mirroring to Microsoft Fabric, the following error may occur:
"Unable to retrieve SQL Server managed identities. VIEW SERVER SECURITY STATE permission was denied on object 'server', database 'master'. The user does not have permission to perform this action."
This error is caused by missing server-level permissions. Even if the user has full database-level access, Microsoft Fabric requires visibility into server security metadata to complete the mirroring process.
You can try,
GRANT VIEW SERVER STATE TO [UserOrServicePrincipal];
GRANT VIEW SERVER SECURITY STATE TO [UserOrServicePrincipal];
If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! |
Regards,
B Manikanteswara Reddy
I have connected to SQL server using my super user credentials. No, when I run the GRANT VIEW SERVER STATE, I get the following error.
Additionally, I have also checked the permissions I have.
what's the server version? Did you maybe lower the compatibility level?
Can you run that query/action in SSMS?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
74 | |
48 | |
16 | |
12 | |
7 |
User | Count |
---|---|
80 | |
77 | |
27 | |
8 | |
7 |