title: Azure - Grant resource access to an external application
body: <p>I have an application that I registered in my Azure portal, which requires permissions to access Azure Service Management API. In order for it to work with Azure resources, I need to add a role assignment to a subscription for my application, to be able, for example, to make an API call such as this:</p>
  
  <pre><code>https://management.azure.com/subscriptions/xxxx-xxxx-xxxx-xxxx/resourcegroups?api-version=2017-05-10
  </code></pre>
  
  <p>I want to have my app work with different Azure portals.
  My question is - how do I add a role assignment for my app on an another Azure AD that doesn't have my app registered, but has given consent to it? Am I approaching this wrong?</p>