OWA/ECP ADFS Claimes based authentication only for certain servers

Schindler Christian 21 Reputation points
2020-11-13T14:12:03.267+00:00

Hello,

I'm currently working on a migration from Exchange Server 2013 to 2019.

The customer wants to enable ADFS Claimes based Auth for OWA/ECP only for those 2019 Servers.

is this supported/possible?

According to the docs https://learn.microsoft.com/en-us/Exchange/clients/outlook-on-the-web/ad-fs-claims-based-auth?view=exchserver-2019

We have to set organization wide parameters and also enable ADFS auth on VDIRS.

Any help would be appreciated!

Kind Regards

Christian Schindler

Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,262 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,635 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 148.1K Reputation points MVP
    2020-11-23T22:48:07.123+00:00

    One thing to note. Its not supported to do this. To be supported, all the Exchange Servers must be enabled for ADFS auth.

    https://learn.microsoft.com/en-us/Exchange/clients/outlook-on-the-web/ad-fs-claims-based-auth?view=exchserver-2019#co-existence-with-other-versions-of-exchange

    You can use AD FS authentication for Outlook on the web and the EAC when you have more than one version of Exchange deployed in your organization. This scenario is supported only if all clients are connecting through Exchange servers, and all of those servers have been configured for AD FS authentication

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Lucas Liu-MSFT 6,176 Reputation points
    2020-11-16T07:07:56.517+00:00

    Hi @Schindler Christian ,
    If after the migration is complete, you do not uninstall Exchange 2013 and maintain the coexistence state, then you need to enable ADFS for all Exchange organizations, not only for Exchange 2019 .
    If you uninstall Exchange 2013 after migration, only Exchange 2019 will exist. It is achievable, you can follow the steps in the link you provided. If you want to set up a specified server, please enter the url entered during the setting process as the address of a special server, and when configuring Exchange for ADFS, please configure it on the specific server.
    It should be noted that the "steps 4a: Create relying party trusts in AD FS for Outlook on the web and the EAC" and "4b: Create custom claim rules in AD FS for Outlook on the web and the EAC" need to be executed twice. Respectively for OWA and ECP. Then configure the Exchange organization to use AD FS authentication.
    Then run the following command lines to configure the authentication method of ECP and OWA's virtual directory. It should be noted that, please configure ECP first, and then configure OWA.
    Finally, please run the IISRESET in CMD start as administrator to restart the IIS.

    Get-EcpVirtualDirectory | Set-EcpVirtualDirectory -AdfsAuthentication $true -BasicAuthentication $false -DigestAuthentication $false -FormsAuthentication $false -OAuthAuthentication $false -WindowsAuthentication $false  
    Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -AdfsAuthentication $true -BasicAuthentication $false -DigestAuthentication $false -FormsAuthentication $false -OAuthAuthentication $false -WindowsAuthentication $false  
    

    ----------

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Schindler Christian 21 Reputation points
    2020-11-27T07:42:46.63+00:00

    Hello,

    thanks for your answers. Regarding the supported statement: if clients only connect through 2019 and proxy to 2013, would it then be supported?

    Cheers
    Christian


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.