inconsistent information with 'az login --serviceprincipal'
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### Related command
cx report the issue about can't get details of the owner of app registration through service principal identity.
but can get the details thru user's identity:
command:
`az ad app owner list --id "`
on Portal:

on cloud shell logged in as the global admin:

on PS logged in with
`az login --serviceprincipal`
permission: admin consent with

and proceed the command:

the value return null for displayname, preferredLanguage, UPN
### Resource Provider
microsoft.directory/applications
### Description of Feature or Work Requested
the information should also be provided with serviceprincipal identity
### Minimum API Version Required
2.43.0
### Swagger PR link / SDK link
N/A
### Request Example
_No response_
### Target Date
N/A
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.