Usage
aad user set [options]
Description
Updates a user in Azure Active Directory AD
Options
| Option |
Description |
-i, --objectId [objectId] |
The object ID of the user to update. Specify objectId or userPrincipalName but not both |
-n, --userPrincipalName [userPrincipalName] |
User principal name of the user to update. Specify objectId or userPrincipalName but not both |
--accountEnabled [accountEnabled] |
Indicates whether the account is enabled |
Additional Information
Resource: https://docs.microsoft.com/en-us/powershell/module/azuread/set-azureaduser?view=azureadps-2.0
To update the specific property, specify its name as it's listed in AAD, eg. to update user's department, use:
Usage
aad user set [options]Description
Updates a user in Azure Active Directory ADOptions
-i, --objectId [objectId]objectIdoruserPrincipalNamebut not both-n, --userPrincipalName [userPrincipalName]objectIdoruserPrincipalNamebut not both--accountEnabled [accountEnabled]Additional Information
Resource: https://docs.microsoft.com/en-us/powershell/module/azuread/set-azureaduser?view=azureadps-2.0
To update the specific property, specify its name as it's listed in AAD, eg. to update user's department, use: