Instantly share code, notes, and snippets.

What would you like to do?
ADFS Authentication with Exchange troubleshooting
Get-ADFSCertificate Token-Signing | Select-Object Thumbprint
$uris = @('https://OWAHOST/owa/', 'https://OWAHOST/ecp/', 'https://OWAHOST/owa', 'https://OWAHOST/ecp')
Set-OrganizationConfig -AdfsIssuer 'https://ADFSHOST/adfs/ls/' -AdfsAudienceUris $uris -AdfsSignCertificateThumbprint 'THUMB'
Get-EcpVirtualDirectory | Set-EcpVirtualDirectory -AdfsAuthentication $true -BasicAuthentication $false -DigestAuthentication $false -FormsAuthentication $false -WindowsAuthentication $false
Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -AdfsAuthentication $true -BasicAuthentication $false -DigestAuthentication $false -FormsAuthentication $false -WindowsAuthentication $false -OAuthAuthentication $false

This comment has been minimized.

Copy link

0973362188 commented Jun 10, 2017

-OAuthAuthentication $false => Error Parameter Cmlet ???


This comment has been minimized.

Copy link
Owner Author

jhochwald commented Aug 9, 2018

The -OAuthAuthentication Is not available on all versions.
I might put this in the post and gist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment