Lync 2013 with Exchange 2013.
After introducing Exchange 2013 to my environment, Lync 2013 starting logging OAuth errors:
These alerts logged every few minutes and all 3 appeared at the same time.
First thing to check is the URL set for Autodiscover on Lync Server 2013. To do this open up the Lync Management Shell and run the following command:
- As shown above, the URL was NULL.
The first step is to open up a browser on the Lync 2013 FE Server and browse to the following URL:
After a few seconds you should receive a credential popup box. Enter in the details and you should see the WSDL page.
The last step is to update the URL using the following Set-CsOAuthConfiguration command:
- Set-CsOauthConfiguration -Identity global -ExchangeAutodiscoverUrl “https://autodiscover.domain.com/autodiscover/autodiscover.svc”
Once done run the command in the previous step:
After this the 3 errors above should no longer appear.
Hope it helps.