简体   繁体   中英

Azure API Management not obtaining resource groups with service principal

I created a service principal that obtains information (subscriptions, resource groups, and resources) from one of the organizations but not from others.

I have the following API Permissions in the Service principal (app reg) Azure Service Management > user_impersonation Dynamics CRM > user_impersonation

And I am using the Azure API Management REST API

The service principal is manually added to the Subscription with Reader role.

I wonder, do I need certain resource providers in the subscription?

Thanks

do I need certain resource providers in the subscription

Yes, you need few resource providers should be registered in your Subscription which are:

Microsoft.Resources - This resource provider is registered by default almost with any subscription because this resource provider is Azure Resource Manager which handles the REST APIs/Clients or Azure APIs requests.

As you mentioned that you're using Azure API Management Rest APIs, then you have to register another resource provider known as Microsoft.ApiManagement which you should register it manually.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM