title: Azure API Management OAuth2 Redirect Uri is null
body: <p>I am trying to add an OAuth2 service to my Azure Api Management service (consumption plan) but the Authorization code grant flow redirect uri is being set to <code>null/signin-oauth/code/callback/{name}</code></p>
  <p>On the &quot;Add OAuth2 service&quot; tab I set the name and id of the oauth2 service (in this example its &quot;test1&quot;)</p>
  <p><a href="https://i.stack.imgur.com/Xi7bE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xi7bE.png" alt="enter image description here" /></a></p>
  <p>The auto generated redirect uri is then set to <code>null/signin-oauth/code/callback/test1</code></p>
  <p><a href="https://i.stack.imgur.com/RAQbD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RAQbD.png" alt="enter image description here" /></a></p>
  <p>I know what the redirect uri should be - <code>https://{my-api-management-service-name}.developer.azure-api.net/signin-oauth/code/callback/test1</code>. When calling this I get a server not found error. So it looks like it's not being set up.</p>
  <p>It seems to work on anything other than the consumption plan.</p>