OWA (Exchange 2013) with ADFS

Hi,

I've been trying to connect between our OWA (Exchange 2013) to our ADFS server according to this guide - https://eu.netdocuments.com/neWeb2/docCent.aspx?whr=CA-ISRRR0MN

I've reached one of the last steps (enable ADFS authentication on the OWA and ECP) but I got an error now - when trying to run the command

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

I get an error - a parameter cannot be found that matches parameter name "LiveIdAuthentication".

Any thoughts?

If I just remove the "LiveIdAuthentication" parameter from the command it works ok, but then I move forward to OWA configuration (same command but without the "LiveIdAuthentication" parameter). Then I get and error regarding "ADFSAuthentication"...

Thanks for helping...


May 28th, 2014 1:36pm


Hi,


Please run Get-ECPVirtualDirectory | select Name, LiveIdAuthentication and post the result.


Thanks,


Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

Free Windows Admin Tool Kit Click here and download it now
May 29th, 2014 8:46am

Hi Simon,

The result of this command is:

C:\Windows\system32>Get-EcpVirtualDirectory | select Name, LiveIdAuthentication

                                                                                              LiveIdAuthentication
                                                                                              -----------------------------
(Default Web Site)                                                                                            False



and if I move forward to the next command (see below) this is the result:

[PS] C:\Windows\system32>Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -AdfsAuthentication $true -BasicAuthenticatio
n $false -DigestAuthentication $false -FormsAuthentication $false -LiveIdAuthentication $false -WindowsAuthentication $f
alse OAuthAuthentication $false
A positional parameter cannot be found that accepts argument 'False'.
    + CategoryInfo          : InvalidArgument: (:) [Set-OwaVirtualDirectory], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Set-OwaVirtualDirectory
    + PSComputerName        : iis.integ.com


And lastly - I've tried to run just the begining of this command and this is the result:

[PS] C:\Windows\system32>Set-OwaVirtualDirectory -AdfsAuthentication $true

cmdlet Set-OwaVirtualDirectory at command pipeline position 1
Supply values for the following parameters:
Identity: owa
The operation couldn't be performed because object 'IIS.integ.com\owa' couldn't be found on 'DC.integ.com'.
    + CategoryInfo          : NotSpecified: (:) [Set-OwaVirtualDirectory], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=IIS,RequestId=af5a6951-0fd7-4d6a-85bf-e1be36b517ea,TimeStamp=6/2/2014 10:37:11 A
   M] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 24148B5,Microsoft.Exchange.Management.SystemConfigur
  ationTasks.SetOwaVirtualDirectory
    + PSComputerName        : iis.integ.com

Note that the OWA is installed on iis.integ.com and the DC is at DC.integ.com

Thanks for helping!

  • Edited by Gil.Mazor Monday, June 02, 2014 10:39 AM
June 2nd, 2014 10:33am

Hi Gil_Mazor,

Since the LiveIdAuthentication is already set to false, you can remove this parameter then the command line will go smoothly.

Thanks,

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

Free Windows Admin Tool Kit Click here and download it now
June 4th, 2014 2:25am

Thanks Simon,
Already understand that but the next command is also makes me some trouble:

[PS] C:\Windows\system32>Get-OwaVirtualDirectory | Set-OwaVirtualDirectory -AdfsAuthentication $true -BasicAuthenticatio
n $false -DigestAuthentication $false -FormsAuthentication $false -LiveIdAuthentication $false -WindowsAuthentication $f
alse OAuthAuthentication $false
A positional parameter cannot be found that accepts argument 'False'.
    + CategoryInfo          : InvalidArgument: (:) [Set-OwaVirtualDirectory], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Set-OwaVirtualDirectory
    + PSComputerName        : iis.integ.com

I've also tried to run just the begining of this command and this is the result:

[PS] C:\Windows\system32>Set-OwaVirtualDirectory -AdfsAuthentication $true

cmdlet Set-OwaVirtualDirectory at command pipeline position 1
Supply values for the following parameters:
Identity: owa
The operation couldn't be performed because object 'IIS.integ.com\owa' couldn't be found on 'DC.integ.com'.
    + CategoryInfo          : NotSpecified: (:) [Set-OwaVirtualDirectory], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=IIS,RequestId=af5a6951-0fd7-4d6a-85bf-e1be36b517ea,TimeStamp=6/2/2014 10:37:11 A
   M] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 24148B5,Microsoft.Exchange.Management.SystemConfigur
  ationTasks.SetOwaVirtualDirectory
    + PSComputerName        : iis.integ.com

And if I try to run the command:    Get-OwaVirtualDirectory | select Name, ADFSAuthentication

I get the same error - parameter cannot be found.....

  • Edited by Gil.Mazor Thursday, June 05, 2014 5:53 AM
June 5th, 2014 5:49am

Hello Gil.

Have you find your solution, i have the same issue on adfsauthentication parameter and I tried many thing with no success...

Benoit

Free Windows Admin Tool Kit Click here and download it now
September 14th, 2015 12:02pm

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

Other recent topics Other recent topics