title: Azure AD SAML Federation with multiple Return URLs
body: <p>I am working on an application that is using Azure AD as an IDP, and though I have the full integration implemented successfully, I can't seem to use the same AD Application from multiple environments. </p>
  
  <p>To elaborate, I generate a SAML request following the guidelines documented at:
  <a href="https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-single-sign-on-protocol-reference" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-single-sign-on-protocol-reference</a></p>
  
  <p>Per the documentation, I should be able to specify a URI for the <em>AssertionConsumerServiceUrl</em> parameter, and as long as the URI is in the AD App configured Return URLs, it should redirect to that specific destination. </p>
  
  <p>Through my testing, it seems that attribute is being ignored entirely. I know this because I used a value that is not even on the Return URL list, and I received no error, the redirect happened to whichever the top-most registered URL is. </p>