Saha Thanks for posting your question in Microsoft Q&A. Based on the description, you have resources such as ML backend APIs in AKS clusters and APIM acts as front-end deployed in subscription A and would like the users in another subscription B to access it.
Yes, the users can access APIM endpoint directly from any subscription in azure (same or different tenant) or outside azure as well. This depends on how the APIM is configured in relates to networking, access restrictions or authentication via azure AD or other identity providers etc.
- Is APIM in public, external or internal VNET mode or configured a private endpoint? Check out https://learn.microsoft.com/en-us/azure/api-management/virtual-network-concepts?tabs=stv2 doc to know more about networking options.
- How is authentication and authorization configured for APIM? Refer https://learn.microsoft.com/en-us/azure/api-management/authentication-authorization-overview for few scenarios and make sure the users in subscription B have proper permissions to access APIs in APIM and subscription to product or API (subscription key). This doc https://learn.microsoft.com/en-us/azure/api-management/api-management-howto-protect-backend-with-aad will help you get started.
I hope this helps and let me know if any questions.