Coder Social home page Coder Social logo

Comments (11)

neprasad-microsoft avatar neprasad-microsoft commented on August 10, 2024

Hi @MrDaleQ
Please help us with the following queries so that we can debug this -

  1. How many users are affected by this?
  2. Can you collect logs and send it to us - https://github.com/OfficeDev/office-js/wiki/Collecting-log-files-for-Outlook-Add%E2%80%90ins-issues
  3. Please share your code snippet where you are using this API.
  4. If possible,please share a test account with us.

You can share this data on a GitHub private repo.

from office-js.

MrDaleQ avatar MrDaleQ commented on August 10, 2024

Hi @neprasad-microsoft

Thanks for the feedback - can I ask if there is a reason why instructions for Classic Outlook are not listed on the page? We're aware we can generate them in a similar manner to this, but this may be useful for other customers.

We're seeing this affecting small numbers of customers currently, and some are reporting this as fixed. We have a support call with a customer of around 8000 users today that is still reporting the issue.

The code snippet used by our dev team is as follows - the function in question has been in use for some time.

return new Promise(function (resolve, reject) { Office.context.mailbox.getUserIdentityTokenAsync( function (asyncResult) { if (asyncResult.status === Office.AsyncResultStatus.Failed) { reject(asyncResult.error); } else { resolve(asyncResult.value); } }); });

from office-js.

MrDaleQ avatar MrDaleQ commented on August 10, 2024

Hi @neprasad-microsoft

I have added you to my private repo and uploaded the har logs from an affected customer, with a screenshot of the dev console.

https://github.com/MrDaleQ/MSShare/issues/4

from office-js.

neprasad-microsoft avatar neprasad-microsoft commented on August 10, 2024

Hi @MrDaleQ
Is it possible for you to share the exact code snippets with us, where you have added log statements? Or if possible, can you share your manifest so that we can debug what is happening exactly.

from office-js.

MrDaleQ avatar MrDaleQ commented on August 10, 2024

Hi @neprasad-microsoft

You can get the manifest from outlook.signature365.com/manifest.xml

from office-js.

neprasad-microsoft avatar neprasad-microsoft commented on August 10, 2024

Hi @MrDaleQ
The logs which you shared do not have the corresponding logs which we log for getUserIdentityToken. Could you collect the logs again and send it to us? Start from Outlook Web load to opening your add-in till the error comes up. Wait for a few mins before stopping the log collection after the error.
I debugged with your add-in but for me the getUserIdentitytoken call is successful but later, I get the same error " url https://id.signature365.com/connect/token returned a status of: 400". The reason was different because my tenant is not allowed to connect to your resource.

from office-js.

MrDaleQ avatar MrDaleQ commented on August 10, 2024

@neprasad-microsoft

I believe Kwame has now taken up this case - from speaking to our dev team, when this error occurs getUserIdentityToken does not make a HTTP request, thus no error is generated.

from office-js.

andrebel10 avatar andrebel10 commented on August 10, 2024

Was this resolved?

from office-js.

MrDaleQ avatar MrDaleQ commented on August 10, 2024

@andrebel10 @neprasad-microsoft

This issue has not as yet been resolved from our customer feedback

from office-js.

mmanjaree-msft avatar mmanjaree-msft commented on August 10, 2024

@MrDaleQ Could you please share logs as mentioned by @neprasad-microsoft in comments above- The logs which you shared do not have the corresponding logs which we log for getUserIdentityToken. Could you collect the logs again and send it to us? Start from Outlook Web load to opening your add-in till the error comes up. Wait for a few mins before stopping the log collection after the error.

from office-js.

MrDaleQ avatar MrDaleQ commented on August 10, 2024

@mmanjaree-msft

It appears that all customers are now reporting that this error has been resolved by a later update to Outlook.

from office-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.