< Back
Reset-AADIntServiceAccount
Post
NAME Reset-AADIntServiceAccount
SYNOPSIS
Create or reset Azure AD Connect sync service account.
SYNTAX
Reset-AADIntServiceAccount [[-AccessToken] <String>] [-ServiceAccount] <String> [[-Recursion] <Int32>]
[<CommonParameters>]
DESCRIPTION
Creates a new user account for Azure AD Connect sync service OR resets existing user's password.
The created user will have DirecotrySynchronizationAccount role.
PARAMETERS
-AccessToken <String>
Access Token
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ServiceAccount <String>
Name of the service account to be created.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Recursion <Int32>
Required? false
Position? 3
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:\\>Reset-AADIntServiceAccount -AccessToken $at -ServiceAccount myserviceaccount
Password UserName
-------- --------
s@S)uv_?*!IBsu%- myserviceaccount@company.onmicrosoft.com
RELATED LINKS
SYNOPSIS
Create or reset Azure AD Connect sync service account.
SYNTAX
Reset-AADIntServiceAccount [[-AccessToken] <String>] [-ServiceAccount] <String> [[-Recursion] <Int32>]
[<CommonParameters>]
DESCRIPTION
Creates a new user account for Azure AD Connect sync service OR resets existing user's password.
The created user will have DirecotrySynchronizationAccount role.
PARAMETERS
-AccessToken <String>
Access Token
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ServiceAccount <String>
Name of the service account to be created.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Recursion <Int32>
Required? false
Position? 3
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:\\>Reset-AADIntServiceAccount -AccessToken $at -ServiceAccount myserviceaccount
Password UserName
-------- --------
s@S)uv_?*!IBsu%- myserviceaccount@company.onmicrosoft.com
RELATED LINKS