Your company uses Azure Active Directory (AD). You find that the service account defined on the Azure AD Connector cannot contact Azure AD because the password has expired.
You need to provide Azure AD Global admin credentials.
Which cmdlet should you use?
You should use the Add-ADSyncAADServiceAccount cmdlet to provide Azure AD Global admin credentials. You need to pass the connector name and the credentials of the administrator.
You should not use the Set-ADSyncAADPasswordResetConfiguration cmdlet to provide Azure AD Global admin credentials. This cmdlet is used to disable and enable password writeback.
You should not use the Set-FullPasswordSync cmdlet to provide Azure AD Global admin credentials. This cmdlet resets the password sync state information, which forces a full sync the next time the service is started.
You should not use the Get-PasswordSyncLogStatus cmdlet to provide Azure AD Global admin credentials. This cmdlet is used to retrieve the current logging level for the Password Sync feature of the Azure Active Directory Sync tool.