SOLVED: Error authenticating using Microsoft Authentication using interactive authentication - WAM Error - Error Code: 3399614467

We've recently seen an issue whereby authenticating with Microsoft Authentication leads to the following error:

Error getting the Microsoft Graph interactive access token. Error getting an additional interactive access token. WAM Error 


Error Code: 3399614467
Error Message: (pii)
Internal Error Code: 558133255 


Reviewing the documentation for this error message shows the following:

V2Error: invalid_grant AADSTS500341: The user account {ID} has been deleted from the {TENANT_ID} directory. To sign into this application, the account must be added to the directory.


However, this wasn't the case, and we could login interactively using another machine. It appears that this error can also be caused by an issue with the Microsoft Authentication Library (MSAL) token cache.


The solution is to clear the MSAL cache for the account.



Comments

Popular posts from this blog

SOLVED: Exchange Online Management PowerShell Connect-ExchangeOnline bug "A window handle must be configured. See https://aka.ms/msal-net-wam#parent-window-handles"

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

get-windowsfeature : The given key was not present in the dictionary