User.EnableDisableAccount.All + User.Read.All is the least privileged combination of permissions to update the accountEnabled property. User.ManageIdentities.All is required to update the identities property.HTTP requestHTTP 複製 PATCH /users/{id | userPrincipalName} Request...
Example 1: Update user by user principal name PowerShell Update-AzADUser-UPNOrObjectId$upn-City$city Update user by user principal name Parameters -AccountEnabled true for enabling the account; otherwise, false. Always true when combined with-Password.-AccountEnabled $falseis ignored when changing...
ram:UpdateUser update *User acs:ram::{#accountId}:user/{#UserName} 无 无 请求参数 名称类型必填描述示例值 UserPrincipalName string 否 指定的 RAM 用户登录名称。 说明 UserPrincipalName与UserId参数,必须指定一个,但不能同时指定。 test@example.onaliyun.com UserId string 否 指定的 RAM 用户 ID。
If the PR_EMSMDB_CRED_USERNAME property is not present in user profiles, some users may experience too many calls to the user principal name (UPN) lookup. To skip the UPN lookup, install one of the following articles and then follow the steps: Descriptio...
[UserPrincipalName <String>]: User principal name of the reviewer. [Decisions <IMicrosoftGraphAccessReviewInstanceDecisionItem- []>]: Each user reviewed in an accessReviewInstance has a decision item representing if they were approved, denied, or not yet reviewed. [Id ...
[UserEmail <String>]: UserEmail [UserId <String>]: UserId [UserName <String>]: UserName [UserPrincipalName <String>]: UserPrincipalName. [State <String>]: complianceStatus [Version <Int32?>]: The version of the policy INPUTOBJECT<IDevicesCorporateManagementIdentity>...
Principal Principal 是 指定被授权的用户或角色。格式如下: RAM 用户:acs:ram::[accountId]:user/[userName]。 RAM 角色:acs:ram::[accountId]:role/[roleName]。 数据湖角色:acs:dlf::[accountId]:role/[roleName]。 CatalogId string 否 数据目录 ID。 1344371 返回参数 名称类型描述示例值 object 返回...
PrincipalName userPrincipalName Email mail sourceDataIdProperty: System.String The name of the ID property in the source data. The value of the property from the source data is used to look up the user. The user profile service property used for the lookup depends on the value of idType....
Required to create a user. has-children Boolean Y Whether the principal has children. If the principal is a group, use 1 or true. If the principal is a user, use 0 or false. last-name String Y/N The new last name to assign to the user. Required to create a user. Do not use...
PrincipalNameuserPrincipalName Emailmail sourceDataIdProperty: System.String The name of the ID property in the source data. The value of the property from the source data is used to look up the user. The user profile service property used for the lookup depends on the value ofidType. ...