Hello,
When I try to enable "force password on next logon" in Azure AD Connect using Set-ADSyncAADCompanyFeature I get the attached error. I verified that the Connector name is right by using Get-ADSyncConnector | select name.
Hello,
When I try to enable "force password on next logon" in Azure AD Connect using Set-ADSyncAADCompanyFeature I get the attached error. I verified that the Connector name is right by using Get-ADSyncConnector | select name.
Hi Saurabh,
I updated the connector and was able to successfully run the command.
Thanks,
Richard
@rbb73 Please "Accept the answer" to help others in the community as well.
Please try running the command Set-ADSyncAADCompanyFeature -ForcePasswordChangeOnLogOn $true
.
Also, what version of AAD Connect you are using ?
@rbb73 Just checking in if you are able to execute the command to enable force password change on log on ?
That parameter is not an option for me. I have to use Set-ADSyncAADCompanyFeature -ForcePasswordResetOnLogonFeature $true. I'm thinking the connector needs to be updated.
16 people are following this question.