Forum Discussion
jasonsmith1515
Jan 13, 2023Copper Contributor
Powershell Set-AuthenticationPolicy issues
Hello, I'm trying to selectively enable basic authentication on a service account for use with our backup system to back up Exchange public folders. I believe the syntax should be: Se...
- Jan 13, 2023Set-AuthenticationPolicy is used for modifying the policy object itself, it does not relate to specific users. First, get the list of policies (Get-AuthenticationPolicy), or if no policies are configured, create a new one (New-AuthenticationPolicy). Then, toggle the settings as needed:
Set-AuthenticationPolicy PolicyID_obtained_above -AllowBasicAuthAutodiscover $true
Lastly, to assign a given policy to a user, use:
Set-User email address removed for privacy reasons -AuthenticationPolicy PolicyId
VasilMichev
Jan 13, 2023MVP
Set-AuthenticationPolicy is used for modifying the policy object itself, it does not relate to specific users. First, get the list of policies (Get-AuthenticationPolicy), or if no policies are configured, create a new one (New-AuthenticationPolicy). Then, toggle the settings as needed:
Set-AuthenticationPolicy PolicyID_obtained_above -AllowBasicAuthAutodiscover $true
Lastly, to assign a given policy to a user, use:
Set-User email address removed for privacy reasons -AuthenticationPolicy PolicyId
Set-AuthenticationPolicy PolicyID_obtained_above -AllowBasicAuthAutodiscover $true
Lastly, to assign a given policy to a user, use:
Set-User email address removed for privacy reasons -AuthenticationPolicy PolicyId
jasonsmith1515
Jan 13, 2023Copper Contributor
Oh, that is VERY helpful! I'll give that a shot, thank you very much!
::edit:: Yup that totally did it, thank you again!