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
MobileDave
Aug 06, 2026Copper Contributor
Powershell running as Administrator:
Get-AuthenticationPolicy
Get-AuthenticationPolicy : The term 'Get-AuthenticationPolicy' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ Get-AuthenticationPolicy