Update `entra app permission add` to support adding permissions with existing admin consent
Open
@waldekmastykarz is already working on this.
Since Jul 4, 2024.
enhancement
keep-open
work in progress
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 413
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 21
Description
We should consider updating entra app permission add to allow adding permissions to existing resources. Right now, if the app already has some permissions for the same resource, running the command with another permission fails with an error saying that you're trying to add a duplicate record. This is caused by the fact, that permissions are stored in records where the key is composed of the app and resource ID. All permissions for the combination are listed as a space-separated string.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.