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.