Recently I was advised there were a lot of events being generated from a customers Lync server where they had recently migrated all their mailboxes to Office 365 but were using Enterprise Voice on premise. The event being generated was as follows: Event ID – 32053 from the LS Storage Service – Storage Service had an EWS Autodiscovery failure. I won’t past the whole error here but the crux of the error was as follows: “ExchangeAutodiscoverException: code=ErrorEwsAutodiscover, reason=GetUserSettings failed, [email protected], Autodiscover Uri=Autodiscover WebProxy= — Microsoft.Exchange.WebServices.Data.ServiceRequestException: The request failed. The request was aborted: The request was canceled. — System.Net.WebException: The request was aborted: The request was canceled. — “ Now looking into this the Lync server could not create the connection to Office 365. I could see Autodiscover is working and the server could get a logon prompt if they hit the URL.
So I decided to check the OAuth Configuration – get-csoauthconfiguration and could see the URL for Exchange Autodiscover was set correctly however the clientauthorizationoauthserveridentity was still pointing at the hybrid exchange management server. So it lead me onto how do you setup an OAuth trust between a cloud service and on premise servers? Well luckily enough help is at hand and I will try to guide you through the process First of all you must connect to PowerShell for the MSOL service in O365 and run the following get command:. get-cstenant and then grab the displayname of your Office 365 tenancy.
![]()
The Autodiscover service must be deployed and configured correctly for Outlook 2007, Outlook 2010, and Outlook 2013 clients to automatically connect to Exchange features such as the offline address book, the Availability service, and Unified Messaging (UM). Take a backup of web.config in 'C: Program Files Microsoft Exchange Server ClientAccess Autodiscover'. - Open web.config from C: Program Files Microsoft Exchange Server ClientAccess Autodiscover in notepad.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |