Unable to turn AD FS authentication on the OWA virtual directory

I am trying to set up AD FS authentication with the owa virtual directory while following this TechNet article:

http://technet.microsoft.com/en-us/library/dn635116(v=exchg.150).aspx#party

I have successfully gotten the ECP virtual directory to authenticate against the AD FS & AD howecver when I try to configure the OWA virtual directory I receive an error message while setting the field to true:

[PS] C:\Windows\system32>Get-OwaVirtualDirectory | fl AdfsAuthentication


AdfsAuthentication : False



[PS] C:\Windows\system32>Set-OwaVirtualDirectory -AdfsAuthentication $true
A parameter cannot be found that matches parameter name 'AdfsAuthentication'.
    + CategoryInfo          : InvalidArgument: (:) [Set-OwaVirtualDirectory], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Set-OwaVirtualDirectory
    + PSComputerName        : adfs.vaultiveps.com

[PS] C:\Windows\system32>

I have used the full command mentioned in the technet article but I received same results....

Is there a workaround to get OWA to authenticate against AD FS?

July 31st, 2014 6:12pm

I don't see where you specified the OWA virtual directory to which you want that property applied.  Perhaps you need to specify that.
Free Windows Admin Tool Kit Click here and download it now
August 3rd, 2014 6:07am

Hi Ed,

Two points, I followed the same process for the ECP directory which worked fine however, I am unable to reference the Adfsauthentication property of the OWA directory. I have also tried specifying the identity which resulted in the same error messages. 

For reference:

[PS] C:\Windows\system32>Set-OwaVirtualDirectory
Creating a new session for implicit remoting of "Set-OwaVirtualDirectory" command...

cmdlet Set-OwaVirtualDirectory at command pipeline position 1
Supply values for the following parameters:
Identity: ADFS\owa (Default Web Site)
WARNING: No form of authentication has been specified for the 'ADFS\owa (Default Web Site)' virtual directory. Use the
Set-OwaVirtualDirectory cmdlet to specify the authentication method.
WARNING: The command completed successfully but no settings of 'ADFS\owa (Default Web Site)' have been modified.
[PS] C:\Windows\system32>
[PS] C:\Windows\system32>Set-OwaVirtualDirectory -Identity "ADFS\owa (Default Web Site)" -Adfsauthentication $True
A parameter cannot be found that matches parameter name 'Adfsauthentication'.
    + CategoryInfo          : InvalidArgument: (:) [Set-OwaVirtualDirectory], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Set-OwaVirtualDirectory
    + PSComputerName        : adfs.vaultiveps.com

[PS] C:\Windows\system32>

August 5th, 2014 4:55pm

Are you running SP1?
Free Windows Admin Tool Kit Click here and download it now
August 6th, 2014 2:56am

Hi Psychephylax,

According to the following information from Technet article, I notice that you have to configure the AdfsAuthentication Parameter of ECP VD value to True before configuring OWA VD.

The ADFS authentication settings for Set-OwaVirtualDirectory and Set-EcpVirtualDirectory are related. You need to set the AdfsAuthentication parameter on Set-EcpVirtualDirectory to $true before you can set the AdfsAuthentication parameter on Set-OwaVirtualDirectory to $true. Likewise, you need to set the AdfsAuthentication parameter on Set-OwaVirtualDirectory to $false before you can set the AdfsAuthentication parameter on Set-EcpVirtualDirectory to $false.

More details to see: http://technet.microsoft.com/en-us/library/bb123515(v=exchg.150).aspx

 

Thanks

August 6th, 2014 11:47am

Hello,

I follow all step required by Exchange and ADFS configuration. download some script to avoid any syntax problem.

But i have the same issue 

[PS] C:\Windows\system32>Set-OwaVirtualDirectory -AdfsAuthentication $true
A parameter cannot be found that matches parameter name 'AdfsAuthentication'.
    + CategoryInfo          : InvalidArgument: (:) [Set-OwaVirtualDirectory], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Set-OwaVirtualDirectory
    + PSComputerName        : adfs.vaultiveps.com

I runned set-ecpVirtualDirectory -adfsauthentication $true fine, but for OWA it's not working.

Any solution will be welcome.

Benoit

Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 7:25am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics