Forum Discussion
Raja15
Jul 11, 2023Copper Contributor
How an application from one subscription can access an API from another subscription
Hi Experts, I have 2 azure subscriptions A and B. In Subscription A, I am using Azure ML service and create the Rest API for my AI model, deploy it using AKS, then use APIM which can publish, secure...
Chandrasekhar_Arya
Jul 11, 2023Iron Contributor
To access an API from another subscription, you can use Azure Active Directory (Azure AD) to grant access to the application in one subscription to the API in another subscription. You can do this by specifying a web API’s scopes in your client app’s registration, the client app can obtain an access token containing those scopes from the Microsoft identity platform. Within its code, the web API can then provide permission-based access to its resources based on the scopes found in the access token1
Refer the below URL https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions
Refer the below URL https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions
Raja15
Jul 11, 2023Copper Contributor
Chandrasekhar_AryaThanks for your reply. Could you please suggest do I need any other service in front of APIM so that subscription can be using API? Or the applications from subscription B can directly interact with APIM?
- Chandrasekhar_AryaJul 11, 2023Iron ContributorI guess you should be able to access application directly via APIM