Seems to be caused by https://github.com/dotnet/runtime/issues/61737 My understanding is that an upgrade of Identity Client or MSAL library major version is needed to alleviate the issue.