An Office service that supports add-ins to interact with objects in Office client applications.
Getting initialization context in Outlook
Bora
1
Reputation point
Hi,
Calling the Office.context.mailbox.item.getInitializationContextAsync method throws out error code 9042. When I checked the documentation, it is stated that this method is only available in the preview version.
However, we were using this function without a problem for almost over a year now. It got dysfunctional in the latest versions.
Is it not working because it's in preview mode? Or does code 9042 mean something else?
Here is the error code logged;
image
Thank you
Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Office JavaScript API
Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Development | Other
Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Sign in to answer