简体   繁体   中英

Azure App registration does not appear in Enterprise applications

Recently I have created a few app registrations as per screenshot below,

在此处输入图像描述

The most interesting thing is that only one of these (webappoidc) appears under Enterprise applications blade like following screenshot shows

在此处输入图像描述

So why does Azure behaves this way and how to make my app registrations appear inside Enterprise apps?

When you create an app registration through Azure Portal, the app has Users.Read permission however when you create the same using az ad app create --display-name "MembersApiApp" , you will notice that the app registration does not have any permissions.

Based on the documentation , an Enterprise App is automatically created when an application is given permission to access resources in a tenant (upon registration or consent).

在此处输入图像描述

Considering you created app registrations without permissions, they will not show up in Enterprise Apps.

I thought that giving permissions to an app registration created using Azure CLI will automatically add it to Enterprise Apps but that didn't happen. I believe a user has to consent to such applications for them to show under Enterprise apps.

UPDATE

Based on my limited research, even if you create an app registration with permissions a Service Principal is not created automatically when using CLI. You would need to explicitly create a Service Principal using az ad sp create .

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