< Back
Set-AADIntPasswordHashSyncEnabled
Post
NAME Set-AADIntPasswordHashSyncEnabled
SYNOPSIS
Enables or disables password hash sync (PHS)
SYNTAX
Set-AADIntPasswordHashSyncEnabled [[-AccessToken] <String>] [-Enabled] <Boolean> [<CommonParameters>]
DESCRIPTION
Enables or disables password hash sync (PHS) using Azure AD Sync API.
If dirsync is disabled, it's first enabled using Provisioning API.
Enabling / disabling the PHS usually takes less than 10 seconds. Check the status using
Get-AADIntCompanyInformation.
PARAMETERS
-AccessToken <String>
Access Token
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Enabled <Boolean>
True or False
Required? true
Position? 2
Default value False
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-PasswordHashSyncEnabled -Enabled $true
RELATED LINKS
CommonParameters : True
WorkflowCommonParameters : False
details : @{name=Set-AADIntUser; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
alertSet :
description :
examples :
Synopsis :
Set-AADIntUser [[-AccessToken] <string>] [[-AlternateEmailAddresses] <Object>]
[[-AlternateMobilePhones] <Object>] [[-AlternativeSecurityIds] <Object>]
[[-BlockCredential] <Object>] [[-City] <Object>] [[-CloudExchangeRecipientDisplayType]
<Object>] [[-Country] <Object>] [[-Department] <Object>] [[-DirSyncProvisioningErrors]
<Object>] [[-DisplayName] <Object>] [[-Errors] <Object>] [[-Fax] <Object>] [[-FirstName]
<Object>] [[-ImmutableId] <Object>] [[-IndirectLicenseErrors] <Object>]
[[-IsBlackberryUser] <Object>] [[-IsLicensed] <Object>] [[-LicenseAssignmentDetails]
<Object>] [[-LicenseReconciliationNeeded] <Object>] [[-Licenses] <Object>] [[-LiveId]
<Object>] [[-MSExchRecipientTypeDetails] <Object>] [[-MSRtcSipDeploymentLocator] <Object>]
[[-MSRtcSipPrimaryUserAddress] <Object>] [[-MobilePhone] <Object>] [[-OathTokenMetadata]
<Object>] [[-ObjectId] <Object>] [[-Office] <Object>] [[-OverallProvisioningStatus]
<Object>] [[-PasswordNeverExpires] <Object>] [[-PasswordResetNotRequiredDuringActivate]
<Object>] [[-PhoneNumber] <Object>] [[-PortalSettings] <Object>] [[-PostalCode] <Object>]
[[-PreferredDataLocation] <Object>] [[-PreferredLanguage] <Object>] [[-ProxyAddresses]
<string[]>] [[-ReleaseTrack] <Object>] [[-ServiceInformation] <Object>] [[-SignInName]
<Object>] [[-SoftDeletionTimestamp] <Object>] [[-State] <Object>] [[-StreetAddress]
<Object>] [[-StrongAuthenticationMethods] <Object>] [[-StrongAuthenticationPhoneAppDetails]
<Object>] [[-StrongAuthenticationProofupTime] <Object>]
[[-StrongAuthenticationRequirements] <Object>] [[-StrongAuthenticationUserDetails]
<Object>] [[-StrongPasswordRequired] <Object>] [[-StsRefreshTokensValidFrom] <Object>]
[[-Title] <Object>] [[-UsageLocation] <Object>] [[-UserLandingPageIdentifierForO365Shell]
<Object>] [-UserPrincipalName] <Object> [[-UserThemeIdentifierForO365Shell] <Object>]
[[-UserType] <Object>] [[-ValidationStatus] <Object>] [<CommonParameters>]
ModuleName : AADInternals
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Set-AADIntUser
Category : Function
Component :
Role :
Functionality :
SYNOPSIS
Enables or disables password hash sync (PHS)
SYNTAX
Set-AADIntPasswordHashSyncEnabled [[-AccessToken] <String>] [-Enabled] <Boolean> [<CommonParameters>]
DESCRIPTION
Enables or disables password hash sync (PHS) using Azure AD Sync API.
If dirsync is disabled, it's first enabled using Provisioning API.
Enabling / disabling the PHS usually takes less than 10 seconds. Check the status using
Get-AADIntCompanyInformation.
PARAMETERS
-AccessToken <String>
Access Token
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Enabled <Boolean>
True or False
Required? true
Position? 2
Default value False
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-PasswordHashSyncEnabled -Enabled $true
RELATED LINKS
CommonParameters : True
WorkflowCommonParameters : False
details : @{name=Set-AADIntUser; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : None
alertSet :
description :
examples :
Synopsis :
Set-AADIntUser [[-AccessToken] <string>] [[-AlternateEmailAddresses] <Object>]
[[-AlternateMobilePhones] <Object>] [[-AlternativeSecurityIds] <Object>]
[[-BlockCredential] <Object>] [[-City] <Object>] [[-CloudExchangeRecipientDisplayType]
<Object>] [[-Country] <Object>] [[-Department] <Object>] [[-DirSyncProvisioningErrors]
<Object>] [[-DisplayName] <Object>] [[-Errors] <Object>] [[-Fax] <Object>] [[-FirstName]
<Object>] [[-ImmutableId] <Object>] [[-IndirectLicenseErrors] <Object>]
[[-IsBlackberryUser] <Object>] [[-IsLicensed] <Object>] [[-LicenseAssignmentDetails]
<Object>] [[-LicenseReconciliationNeeded] <Object>] [[-Licenses] <Object>] [[-LiveId]
<Object>] [[-MSExchRecipientTypeDetails] <Object>] [[-MSRtcSipDeploymentLocator] <Object>]
[[-MSRtcSipPrimaryUserAddress] <Object>] [[-MobilePhone] <Object>] [[-OathTokenMetadata]
<Object>] [[-ObjectId] <Object>] [[-Office] <Object>] [[-OverallProvisioningStatus]
<Object>] [[-PasswordNeverExpires] <Object>] [[-PasswordResetNotRequiredDuringActivate]
<Object>] [[-PhoneNumber] <Object>] [[-PortalSettings] <Object>] [[-PostalCode] <Object>]
[[-PreferredDataLocation] <Object>] [[-PreferredLanguage] <Object>] [[-ProxyAddresses]
<string[]>] [[-ReleaseTrack] <Object>] [[-ServiceInformation] <Object>] [[-SignInName]
<Object>] [[-SoftDeletionTimestamp] <Object>] [[-State] <Object>] [[-StreetAddress]
<Object>] [[-StrongAuthenticationMethods] <Object>] [[-StrongAuthenticationPhoneAppDetails]
<Object>] [[-StrongAuthenticationProofupTime] <Object>]
[[-StrongAuthenticationRequirements] <Object>] [[-StrongAuthenticationUserDetails]
<Object>] [[-StrongPasswordRequired] <Object>] [[-StsRefreshTokensValidFrom] <Object>]
[[-Title] <Object>] [[-UsageLocation] <Object>] [[-UserLandingPageIdentifierForO365Shell]
<Object>] [-UserPrincipalName] <Object> [[-UserThemeIdentifierForO365Shell] <Object>]
[[-UserType] <Object>] [[-ValidationStatus] <Object>] [<CommonParameters>]
ModuleName : AADInternals
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Set-AADIntUser
Category : Function
Component :
Role :
Functionality :