title: AADSTS900144: The request body must contain the following parameter: 'scope' when using legacy Developer Portal
body: <p>I was trying to implement AAD in my APIM instance based on <a href="https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-protect-backend-with-aad" rel="nofollow noreferrer">this article</a> and <a href="https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-oauth2" rel="nofollow noreferrer">this article</a>. Unfortunately when it came down to Developer console, right after I picked Authorization code as the Authorization method a popup showed up and showed me the following error:</p>
  
  <pre><code>AADSTS900144: The request body must contain the following parameter: 'scope'.
  </code></pre>
  
  <p>It failed on <code>https://login.microsoftonline.com/{Directory (tenant) ID
  }/oauth2/v2.0/authorize?response_type=code&amp;client_id={client id}&amp;redirect_uri=https://{my-apim-instance}/docs/services/{authorization method}/console/oauth2/authorizationcode/callback&amp;state={state}</code>.</p>
  
  <p>Since all of this is part of Azure Portal (at this point the legacy Developer Portal) I do not fill the scope parameter. How can you set that property? Or is the problem somewhere else?</p>