title: Azure AD Connect single sign-on error with setup
body: <p>Situation:</p>
  
  <ul>
  <li>windows server 2012 R2 AD with example.<strong>local</strong> as domain.</li>
  <li>Created DNS entry for example.somedomain.com</li>
  <li>Added example.somedomain.com to example.local, so that users can log in using username@example.somedomain.com</li>
  </ul>
  
  <p>In azure I have added an AD for "example.onmicrosoft.com" and added a custom domain example.somedomain.com which has been verified.</p>
  
  <p>I am trying out Azure AD Connect with the following:</p>
  
  <ul>
  <li>Password Synchronization</li>
  <li>'Enable single sign on' (preview!)</li>
  </ul>
  
  <p>However, when I manage to fill everything in and end up in the tab 'Single sign on' I get an error with "Cannot retrieve single sign on status."</p>
  
  <p>After research it seems that there was a 'bug' in some version of Azure AD Connect. I have the latest version (1.1.380.0) and for testing purposes I simply disabled the firewall on the machine I am trying to install Azure AD Connect on so there won't be a problem with port 9090.</p>
  
  <p>What could be causes for receiving that message? In the docs that I found it simply assumes that 'it works'.</p>