< Back

Reset-AADIntServiceAccount

Fri Jan 10, 2020 5:58 pm

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