microsoft / microsoft/powerplatform-vscode

pac admin assign-user errors out

Open
#886 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug pac-cli
Dominant language
TypeScript
Stars
277
Forks
60
Avg merge
1d 1h
Merged PRs (30d)
14

Description

This command used to exit with a message if the role was already assigned to the user (as evidenced by #269). However with the latest release, it errors out if the user exists on the environment. This is making it impossible to assign roles to users via command line.

image

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.

Research direction

Start by reproducing the pac admin assign-user failure against an environment where the user already exists, using the latest release. Compare the current behavior with the expected behavior described in #269; done means the command can assign roles to existing environment users without exiting with an error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.