Lync 2013 with Exchange 2013.

After introducing Exchange 2013 to my environment, Lync 2013 starting logging OAuth errors:

  • 32049
  • 32053
  • 32054

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:

  • Get-CsOAuthConfiguration


  • 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:

  • https://autodiscover.<domainname>/autodiscover/autodiscover.svc

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 “”

Once done run the command in the previous step:


After this the 3 errors above should no longer appear.

Hope it helps.

By edward