pnp / pnp/cli-microsoft365

Update `entra app permission add` to support adding permissions with existing admin consent

Open
#6,115 7 comments 2 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.