Forum Discussion

jasonsmith1515's avatar
jasonsmith1515
Copper Contributor
Jan 13, 2023
Solved

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...
  • VasilMichev's avatar
    Jan 13, 2023
    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

Resources