title: access_denied error while login to multi-tenant app with external user
body: <p>I Have implemented Multi tenant app.I have able login from other directory and same directory user but when i'm login with the external user or guest user then i'm getting access_denied error.</p>
  
  <p><strong><em>Eg</em></strong>:My directory domainname like <strong>sample.onmicrosoft.com</strong>.The user with <strong>test@sample.onmicrosoft.com</strong> able to login to my app but when the user like <strong>test@sample-softwaresolutions.com</strong> not able to login my app.</p>
  
  <p>Error like below</p>
  
  <pre><code>#error=access_denied&amp;error_description=AADSTS65005%3a+Using application is currently not supported for your Organizationname.com.com because it is in an unmanaged state. An administrator needs to claim ownership of the company by DNS validation of Organizationname.com. before the application AppName can be provisioned.%0d%0aTrace+ID%3a+1cc5197f-2580-4b09-8f22-e2ad20520900%0d%0aCorrelation+ID%3a+13c719cf-ee2a-49d0-bb11-e9b84fb15843%0d%0aTimestamp%3a+2017-09-24+12%3a20%3a03Z&amp;state=b2662aef-dd29-4a80-b6fd-09e47d991934
  </code></pre>
  
  <p>or see the below image</p>
  
  <p><a href="https://i.stack.imgur.com/TMNre.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TMNre.png" alt="enter image description here"></a></p>
  
  <p><strong>Any Answer Appreciated</strong></p>
  
  <p><strong>Thanks in Advance......!</strong></p>