r/SQL • u/Haunting_Roof169 • Apr 16 '26
SQL Server 916 on Azure DB
Hi all,
Having a very odd issue. I have an Azure SQL DB.
I granted a group access to this (and login to master).
3 of the 4 users in the group can access without issue.
One person gets the 916 error when accessing the DB and I am stuck as to where the issue is. There are no denies set anywhere and it randomly started for them. I have verified they have connect perms.
Any idea where to start?
3
Upvotes
1
u/Ok_Carpet_9510 Apr 16 '26
Check what database level roles they are part of.
1
u/Legal-Serve-8599 Apr 16 '26
This is going to be worded poorly, but is it setup with multiple SQL servers in a failover or replicated setup? I discovered creating users manually on both servers resulted in unique SIDs per server rather than the same SID. PITA.
1
u/TridentDataSolutions Apr 17 '26
Interesting issue, I would suggest checking to see if that user has an individual login that was created which possibly has less (or even deny) permissions that are causing conflicts.
3
u/Grovbolle Apr 16 '26
Start a trace on the database and ask the user to login to see more details