< Back
Set-AADIntUserPassword
Post
NAME Set-AADIntUserPassword
SYNOPSIS
Sets the password of the given user
SYNTAX
Set-AADIntUserPassword [[-AccessToken] <String>] [-SourceAnchor] <String> [-Password] <String> [[-ChangeDate]
<DateTime>] [[-Recursion] <Int32>] [<CommonParameters>]
DESCRIPTION
Sets the password of the given user using Azure AD Sync API. If the Result is 0, the change was successful.
Requires that Directory Synchronization is enabled for the tenant!
PARAMETERS
-AccessToken <String>
Access Token
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SourceAnchor <String>
User's source anchor (ImmutableId)
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
User's new password
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ChangeDate <DateTime>
Time of the password change. Can be now or in the past.
Required? false
Position? 4
Default value (Get-Date)
Accept pipeline input? false
Accept wildcard characters? false
-Recursion <Int32>
Required? false
Position? 5
Default value 1
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-AADIntUserPassword -SourceAnchor "Vvl6blILG0/Cr/8TWOe9pg==" -Password "MyPassword" -ChangeDate
((Get-Date).AddYears(-1))
CloudAnchor Result SourceAnchor
----------- ------ ------------
CloudAnchor 0 Vvl6blILG0/Cr/8TWOe9pg==
RELATED LINKS
SYNOPSIS
Sets the password of the given user
SYNTAX
Set-AADIntUserPassword [[-AccessToken] <String>] [-SourceAnchor] <String> [-Password] <String> [[-ChangeDate]
<DateTime>] [[-Recursion] <Int32>] [<CommonParameters>]
DESCRIPTION
Sets the password of the given user using Azure AD Sync API. If the Result is 0, the change was successful.
Requires that Directory Synchronization is enabled for the tenant!
PARAMETERS
-AccessToken <String>
Access Token
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SourceAnchor <String>
User's source anchor (ImmutableId)
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Password <String>
User's new password
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ChangeDate <DateTime>
Time of the password change. Can be now or in the past.
Required? false
Position? 4
Default value (Get-Date)
Accept pipeline input? false
Accept wildcard characters? false
-Recursion <Int32>
Required? false
Position? 5
Default value 1
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Set-AADIntUserPassword -SourceAnchor "Vvl6blILG0/Cr/8TWOe9pg==" -Password "MyPassword" -ChangeDate
((Get-Date).AddYears(-1))
CloudAnchor Result SourceAnchor
----------- ------ ------------
CloudAnchor 0 Vvl6blILG0/Cr/8TWOe9pg==
RELATED LINKS