Share via

getUserIdentityTokenAsync method keeps returning obsolete identity token until 30 minutes when EdgeHtml used as browser in Outlook add-in

Anonymous
2022-09-08T06:29:56+00:00

We are using getUserIdentityTokenAsync method provided by Microsoft to fetch the identity token for our custom Outlook add-in.

Whenever we are updating the manifest file in Outlook to install the add-in, getUserIdentityTokenAsync keeps returning obsolete identity token with old aud value instead of updated one. getUserIdentityTokenAsync method returns the correct updated token only after 30 minutes of installing new manifest. This issue is only occurring where EdgeHTML is used as browser for add-in . For Outlook where Chromium is used as browser, it is working fine(https://docs.microsoft.com/en-us/office/dev/add-ins/concepts/browsers-used-by-office-web-add-ins). Can you please look into the issue & let us know if there is any recent change done by Microsoft in its behavior & what is the reason if done or is it an issue?

Outlook | Windows | Classic Outlook for Windows | For home

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-09-08T10:56:27+00:00

    Hi SrishtiKr,

    Greetings

    Thank you for posting in Microsoft Community forum.

    Based on your description I understand you are experiencing a scenario with the Edge browser after updating the manifest file in Outlook to install a custom add-in.

    Thank you for your time and efforts on troubleshooting this from your end. I have done some research to try see if there is any changes or the causing of this scenario to no avail. Kindly note since we may not have much tools to also check on your custom add in, it would advisable if you could contact our dedicated Outlook team to check on the issue with better diagnostics.

    To contact support Sign in to Microsoft 365 with your Microsoft 365 admin account, and select Support > New service request. If you're in the admin center, select Support > New service request.

    Meanwhile you can check this is happening too in a different PC altogether. You may also post to our MS . Edge Q and A  to verify if indeed there is any change in the browser that may affect the function of the getUserIdentityTokenAsync method. This is a team of experts dedicated to answering Technical questions about developing cross-platform DevTools, Extensions, and Web Apps for Microsoft Edge browser.

    Your kind understanding is highly appreciated. Thank you for your cooperation.

    Sincerely,

    Anesu | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments