"az ad sp show" limitation on App registration => API permission =>"Customer Insights"
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 64
Description
> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62
**Describe the bug**
========================== step 1 ==========================
Create an App registration => API permission =>"Customer Insights"
========================== step 2 ==========================
az ad app list
returns the information of above app as below:
"required_resource_access" = tolist([
{
"resource_access" = tolist([
{
"id" = "2e3c0709-0f8e-46b4-a196-ee6a15d858cd"
"type" = "Scope"
},
{
"id" = "056209dc-5c35-434b-9569-0c77d4aa6047"
"type" = "Role"
},
])
"resource_app_id" = "38c77d00-5fcb-4cce-9d93-af4738258e3c"
},
which map to the portal display:
Customer Insights (2)
CustomerInsights.Api.All Application
user_impersonation Delegated
========================== step 3 ==========================
az ad sp show --id 38c77d00-5fcb-4cce-9d93-af4738258e3c
returns:
Resource '38c77d00-5fcb-4cce-9d93-af4738258e3c' does not exist or one of its queried reference-property objects are not present.
**To Reproduce**
**Expected behavior**
az ad sp show --id 00000002-0000-0000-c000-000000000000
returns expected as below:
{
"accountEnabled": "True",
"addIns": [],
"alternativeNames": [],
"appDisplayName": "Windows Azure Active Directory",
"appId": "00000002-0000-0000-c000-000000000000",
"appOwnerTenantId": "f8cdef31-a31e-4b4a-93e4-5f571e91255a",
"appRoleAssignmentRequired": false,
"appRoles": [.......
...
}
**Environment summary**
windows powershell core
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.