-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why saveAsync return ImmutableId in Outlook in Exchange online? #5247
Comments
Hi @ttuyen1529, please let us know about the following details:
|
Hi @whoanuragverma Office.context.mailbox.item.saveAsync((res) => { After that I use for call additional API to our back-end that use some EWS connection, but it return ID malformed error I use some console code to check and I see request on customer machine request have this header.. so wonder why it happens on Outlook and where to turn on or off this on Outlook since I never heard Outlook have kind of this setting |
What error are you getting while making the EWS request? |
|
I see you are trying to make an EWS call but you are converting it to Outlook REST API Id in the snippet you provided, can you try sending the EWS request without converting to Outlook REST ID? It is mentioned in our docs as well, these two IDs are not identical. https://learn.microsoft.com/en-us/javascript/api/outlook/office.messagecompose?view=outlook-js-1.11&preserve-view=true#outlook-office-messagecompose-saveasync-member(2) |
@whoanuragverma I already tried that and it is the same.. |
Any updates? @whoanuragverma |
@ttuyen1529 |
Kindly share the logs by following this process: https://github.com/OfficeDev/office-js/wiki/Collecting-log-files-for-Outlook-Add%E2%80%90ins-issues |
After sharing the logs, kindly give access to "exextoc". Thank you. |
Thank you @ttuyen1529. We have downloaded the log file and removed the link from here. |
@ttuyen1529 Is this happening in multi-account/ shared items scenario? |
Hi @DivyaPatidar |
Hey @ttuyen1529 , this is the same issue as reported in #5326 The issue has been fixed, pending rollout. We will update the same once the fix is rolled out and available. |
I faced an issue with a tenant of customer cause my app to break since saveAsync return ImmutableId, not normal one then other call using that Id return Id malformed error..
So how it happen for Outlook..
I check in OWA and it did have prefer ImmutableId header in request to Outlook API..
The text was updated successfully, but these errors were encountered: