How can I force (temporarily) Outlook to connect to Exchange so that GetExchangeUser() works?Īre there any alternative ways of collecting the Exchange user information? // Create a singleton of the Application instance.I suspect that the Cached mode causes this not to be the case all the time and therefore the method fails. My rough understanding is that GetExchangeUser() only works when connected to the Exchange Server. However my company wants to keep this feature enabled. If I disable the clients Cached Exchange Mode everything works fine. However, it appears that when the Outlook Account Settings is configured with Cached Exchange Mode enabled the GetExchangeUser() returns null. My company is running on O365 (Exchange) and I am developing an add-in which collects their exchange user information and does various things.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |