Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0.1] Inconsistent verbs for changing user's password #1347

Open
alexandair opened this issue Feb 10, 2025 · 1 comment
Open

[1.0.1] Inconsistent verbs for changing user's password #1347

alexandair opened this issue Feb 10, 2025 · 1 comment
Labels

Comments

@alexandair
Copy link
Collaborator

Set to change users' password. Update to change signed-in user's password.

PS> gcm *entra*user*password

 Name                                    
 ----                                    
 Set-EntraBetaUserPassword                      
 Set-EntraUserPassword                   
 Update-EntraBetaSignedInUserPassword    
 Update-EntraSignedInUserPassword
@SamErde
Copy link
Collaborator

SamErde commented Feb 10, 2025

Just double-checking for reference:
https://github.com/microsoftgraph/entra-powershell/blob/main/development-docs/design-guidelines/cmdlet-best-practices.md

Set vs. Update

If your cmdlet is performing a PATCH operation (_that is, a partial replacement on the server), then the cmdlet should use the verb Update.

If your cmdlet is performing a PUT operation (_that is, a full replacement on the server), the cmdlet should use the verb Set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants