@Oury Ba-MSFT - I am also facing same issue and the SSMS version - v18.9.1
Login failed for user '<token-identified principal>'. (Microsoft SQL Server, Error: 18456) in a group but works when the user is added directly

MrFlinstone
416
Reputation points
I get the error Login failed for user '<token-identified principal>'. (Microsoft SQL Server, Error: 18456) from Azure SQL server when a user tries to login using Azure Active Directory - Universal with MFA.
My Azure AD login is within a group, other members of the group can login to the database, but I get the error '<token-identified principal>'. (Microsoft SQL Server, Error: 18456), however If the user is added to the database, then I can login and it works.
create user [myUserName@contoso.com] from external provider
GO
EXEC sp_addrolemember N'db_datareader', N'myUserName@contoso.com'
I was wondering if there is a reason for this.
1 vote
Hi @MrFlinstone Could you please share more details about the version of SSMS you are using?
Regards,
Oury
having similar issue w/ SSMS v 15.0.18386.0 (v18.9.2). please help. with this v of SSMS i can gain successful access to Azure Synapse Analytics SQL Pool for DEV env but not PROD env. SSMS connect method details are:
Server type: Database Engine
Server name: <DEVSERVER> | <PRODSERVER>
Authentication: Azure Active Directory - Universal with MFA
User name: same approved client AD user account name for either DEV or PROD env.