List owned app registration in the context of an application/spn
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Related command**
az ad app list --show-mine
**Describe the bug**
When executing in an azdo pipeline and thus using a spn (application based) access token, we get "ERROR: /me request is only valid with delegated authentication flow." . This probably caused by the underlying graph API call, but I'm unaware what the exact call is. This is why I report it here
**To Reproduce**
Execute the command using a SPN.
**Expected behavior**
The same result as if you would execute the command with a normal user. It should be noted that spn's can be owners and have the required rights to access and updates app registration.
**Environment summary**
Hosted agent -> https://github.com/actions/runner-images/blob/ubuntu20/20221027.1/images/linux/Ubuntu2004-Readme.md
azure-cli 2.41.0 *
azure-devops 0.25.0
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.