cipp_edit_user
Edit a user's directory attributes, usage location, and license eligibility across Microsoft 365 tenants. Reversible by editing again.
Instructions
⚠ HIGH-IMPACT. Edits an existing user's properties, which can include directory attributes, usage location, and may grant or revoke roles or license eligibility. Reversible by editing again. Confirm with the user before invoking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The user's Azure AD object ID or UPN to identify the account to modify. | |
| jobTitle | No | Updated job title for the user. | |
| department | No | Updated department for the user. | |
| displayName | No | Updated full display name for the user. | |
| tenantFilter | Yes | Tenant domain name or ID to scope the operation. Use 'allTenants' to target every managed tenant. | |
| usageLocation | No | Two-letter ISO 3166-1 alpha-2 country code for license assignment eligibility (e.g. 'US'). Required before assigning most Microsoft 365 licences. |