Microsoft Support and Recovery Assistant could not identify my problem due to OAuth token issue

Gianfranco Viscomi 0 Reputation points
2023-03-24T20:32:31.1933333+00:00

Hello all,

Sorry if I'm not in the right place. Give me link to the right one if so. I don't see a option for "Outlook".

I'm having trouble with my Outlook profile on Windows 11.

Suddenly, I can no more open Outlook. The splash screen freeze on "Loading profile" step.

I try many tutorials found on web on how get out of this problem but no one is good for me.

One suggestion is to create a new Outlook profile. I try to do this but I can't create new one with a error retrieving my settings on Office365.

I'm trying to use the Microsoft SaRA tool to identify and repair the problem, but I can't get to make checks.

When I try to do this check and click on "Next" button, I see a form will open and immediately close.

In log, I could see this problem.

03/24/2023 15:40:07,18388,13,Warning,OAuthManager,##Ran into an exception while getting credentials and getting OAuth token: Microsoft.Identity.Client.MsalClientException -    at Microsoft.Identity.Client.Platforms.Features.WinFormsLegacyWebUi.WebUI.<AcquireAuthorizationAsync>d__20.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.Identity.Client.Internal.AuthCodeRequestComponent.<FetchAuthCodeAndPkceInternalAsync>d__7.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.Identity.Client.Internal.AuthCodeRequestComponent.<FetchAuthCodeAndPkceVerifierAsync>d__4.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)

   at Microsoft.Identity.Client.Internal.Requests.InteractiveRequest.<GetTokenResponseAsync>d__11.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.Identity.Client.Internal.Requests.InteractiveRequest.<ExecuteAsync>d__9.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.Identity.Client.Internal.Requests.RequestBase.<RunAsync>d__12.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.Identity.Client.ApiConfig.Executors.PublicClientExecutor.<ExecuteAsync>d__2.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at Microsoft.Sara.Framework.Common.CredentialManager.AuthManager.GetTokenForResource(String resourceUrl, String userName, Boolean isRestart, Boolean signIn)

   at Microsoft.Sara.Framework.Common.CredentialManager.AuthManager.GetOAuthToken(String applicationId, String resource, String userName, Boolean isRestart, Boolean signIn)

   at Microsoft.Sara.Framework.Common.CredentialManager.OAuthManager.TryGetOAuthToken(String applicationId, String resource, String userName, Exception& exception, Boolean isRestart, Boolean signIn)

What does this error means? Any help would be appreciate.

Any help to go out for my base problem will be appreciate too.

Let me know if I have to give some additional informations.

Best regards, and thank you in advance

Outlook | Windows | Classic Outlook for Windows | For business
Microsoft 365 and Office | Install, redeem, activate | For business | Windows
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Hal Hostetler MVP-Outlook 521 Reputation points MVP Volunteer Moderator
    2023-03-25T04:31:39.3733333+00:00

    Will Outlook start in Safe mode? Hold Ctrl while clicking the Outlook shortcut, and then select Yes. Alternatively, enter outlook.exe /safe in Command Prompt.


  2. Gianfranco Viscomi 0 Reputation points
    2023-03-25T08:12:07.0866667+00:00

    Yes I tried in safe mode but the behavior is the same. Outlook block on Loading Profile. It never open completely. I try to to repair .ost file but same behavior too.

    0 comments No comments

  3. Faery Fu-MSFT 19,751 Reputation points Moderator
    2023-03-27T06:57:36.8066667+00:00

    Hi @Gianfranco Viscomi ,

    How do you create a new profile? And what error you encounter when connecting your account?

    It is recommended that you delete the old offline data file first, then create a new configuration file, and then connect your account, please do the following:

    • Quit Outlook.
    • Go to C:Users\User-Name\AppData\Local\Microsoft\Outlook to search for the OST file.
    • When you are at he .ost file location you can delete it from there.
    • Go to Control Panel > Mail > Show Profiles > Add, re-connect your account.

    If you have any further updates on this issue, please feel free to post back.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.