After upgrading MNE, all migration jobs fail while authenticating to Exchange Online.
The migration log records the following error:
System.AggregateException: One or more errors occurred.
Microsoft.Identity.Client.MsalUiRequiredException:
AADSTS9002313: Invalid request. Request is malformed or invalid.
The Windows user profile running MNE contains a stale or invalid Microsoft Authentication Library token in its temporary-file cache.
MNE attempts to reuse the cached token, but Microsoft Entra ID rejects the authentication request. The MsalUiRequiredException indicates that interactive authentication is required, but the existing cached authentication context prevents MNE from completing that process correctly.
Perform the following steps on the MNE migration server.
%TEMP%
MNEUnifiedTokenCache.dat
MNETokenCache.dat
AADSTS9002313: Invalid request. Request is malformed or invalid.