Skip to content

Instantly share code, notes, and snippets.

@jhochwald
Created April 26, 2017 16:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jhochwald/a932c9d03263ca1e421c9032aa22ac2f to your computer and use it in GitHub Desktop.
Save jhochwald/a932c9d03263ca1e421c9032aa22ac2f to your computer and use it in GitHub Desktop.
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
@0973362188
Copy link

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

@jhochwald
Copy link
Author

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