title: UCWA Lyncautodiscover "Internal Server Error"
body: <p>I want to create a UCWA application for my customer.
  I installed the Lync server Standard Edition on Windows Azure  and I followed the following steps.</p>
  
  <p><strong>1)Lync Server 2013 CU1 upgrade</strong></p>
  
  <p><strong>2)Configure DNS Records</strong>
     <em>lyncdiscover as CNAME (Alias)
     lyncdiscoverinternal as CNAME(Alias)</em></p>
  
  <p><strong>3)Configure internal and external ports</strong> 
     <em>Set-CsWebServer –Identity ls2013.domain.com –McxSipPrimaryListeningPort 5086
     Set-CsWebServer –Identity ls2013.domain.com –McxSipExternalListeningPort 5087</em></p>
  
  <p><strong>4)Run Enable-CsTopology</strong> </p>
  
  <p><strong>5)Run the bootstrapper - %ProgramFiles%\Microsoft Lync Server 2013\Deployment\Bootstrapper.exe</strong></p>
  
  <p><strong>6)Modify Lync Internal Certificate</strong></p>
  
  <pre><code>**Request-CsCertificate -New -Type Default,WebServicesInternal,WebServicesExternal -CA &lt;DC\CANAME&gt; -Domainname "LyncdiscoverInternal.sipdomain1, Lyncdiscover.sipdomain1" -Verbose
  Set-CsCertificate -Type Default,WebServicesInternal,WebServicesExternal -Thumbprint E5DBFFBCDD9E6C721E6D5C2DE191BCA8ABEE1E1B**
  </code></pre>
  
  <p><strong>7)Reverse proxy configuration for mobility</strong>
     <em>In this step,because of Microsoft TMG 2010 cannot use in Windows Server 2012,I used ARR for reverse proxy as the following link.</em></p>
  
  <p><strong>8)The last,when I browse</strong></p>
  
  <p><em><a href="https://lyncdiscover.domain.com/autodiscover/autodiscover.svc/root" rel="nofollow">https://lyncdiscover.domain.com/autodiscover/autodiscover.svc/root</a>
     <a href="https://lyncdiscoverinternal.domain.com/autodiscover/autodiscover.svc/root" rel="nofollow">https://lyncdiscoverinternal.domain.com/autodiscover/autodiscover.svc/root</a></em></p>
  
  <p>I got the error</p>
  
  <pre><code> HTTP Error 500.0 - Internal Server Error Module "OCSAuthHelperModule" could not be found
  </code></pre>
  
  <p>How can I work around for this?
  Do I have need to uninstall the Lync Server?
  When I google,there is no reference site for UCWA development configuration for detail.
  Do you have any reference site or book and cau you share me for your information?</p>
  
  <p>Thanks in advance </p>