Using Authentication method - Microsoft Entra Password

salilsingh-9961 351 Reputation points
2024-02-18T17:07:21.8066667+00:00

Hi Team, On Azure portal, I created an Azure Active Directory group and added an user in it. Using Microsoft Entra admin User, logged in to Azure SQL DB, created the User with same name as AAD Group and given db_owner role to the DB User. For the added User (in AAD), using SSMS, I am able to connect to DB by using Authentication method - Microsoft Entra MFA. Using SSMS, when I used Microsoft Entra Password, I am unable to connect to DB, getting below error - Login failed for user '<token-identified principal>'. (Framework Microsoft SqlClient Data Provider) Does this means that User can not login using Microsoft Entra Password, always has to login using Microsoft Entra MFA? In which scenario Microsoft Entra Password is used? Thanks, Salil

Azure SQL Database
Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

1 answer

Sort by: Most helpful
  1. JimmySalian-2011 42,496 Reputation points
    2024-02-18T17:37:40.52+00:00

    Hi Salil,

    Can you check the Group ID is matching the User you created in SQL DB? Also check this article and some suggestions on this auth issue - https://techcommunity.microsoft.com/t5/azure-database-support-blog/aad-auth-error-login-failed-for-user-lt-token-identified/ba-p/1417535

    Hope this helps. JS

    == Please Accept the answer if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.