PS C:\Users\Admin> az login Please select the account you want to log in with. Failed to authenticate -4a2a-96eb-87b8c9 'india' due to error '(pii). Status: Response_Status.Status_InteractionRequired, Error code: 3399614476, Tag: 557

siddhesh kadu 0 Reputation points
2023-10-20T19:00:59.4666667+00:00

When I'm enter az login its showing authentication failed...can anyone aware on this issue...

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
6,148 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,541 Reputation points Microsoft Employee
    2023-10-25T22:47:04.7066667+00:00

    @siddhesh kadu

    Thank you for your post and I apologize for the delayed response!

    Error Message:
    Failed to authenticate -4a2a-96eb-87b8c9 'india' due to error '(pii). Status: Response_Status.Status_InteractionRequired, Error code: 3399614476, Tag: 557

    Based off your error message, it looks like the sign-in failed due to an InteractionRequired error and I wasn't able to find the error code within the Microsoft Entra authentication and authorization error codes documentation.

    However, to gain a better understanding of your issue and help point you in the right direction can you:

    1. Make sure that you entered the correct credentials when logging in?
    2. If you are using MFA, were you able to complete the additional verification?
    3. If the issue persists after completing MFA and entering in the correct log-in info, can try clearing all subscriptions from your CLI's local cache? For more info - az account clear.

    If none of these steps resolve the issue, can you share some more info below:

    • Are you logging into CLI via a script or is this solely through az login?
    • Have you been able to login to Azure CLI previously?

    Any additional information would be greatly appreciated.


    Additional Links:

    I hope this helps!

    If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.

    0 comments No comments