[ideas] Please add command to unassign security role of user for the environment #680
sanjeev40084
started this conversation in
Ideas
Replies: 1 comment
-
|
I don't understand why this is not addressed, I struggle to make sense of why there is a way to assign a user but not revoke with pac cli. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently we have command to assign security role for user, please also add command to unassign security role. We are admin for about 50 power platform environments and all my team members have SA role. One of my team member is moving to new team and his SA role needs to be removed. Currently we need to do one environment at a time :(
pac admin unassign-user -env [env-id] -u $upn -r [role-name]I think the best approach will be to introduce new user attribute and have flag to assign and unassign roles something like this:
To assign role:
pac admin user -env [env-id] -u $upn -r [role-name] -assignTo unassign role:
pac admin user -env [env-id] -u $upn -r [role-name] -unassignBeta Was this translation helpful? Give feedback.
All reactions