Quantcast
Viewing all articles
Browse latest Browse all 21070

Issues setting up S2S trust between Exchange and SharePoint 2013

I have Exchange 2013 and SharePoint 2013 installed and I'm trying to setup trusts between them both.

I've got the trust successfully created on the Exchange side using:

cd c:\'Program Files'\Microsoft\'Exchange Server'\V15\Scripts
.\Configure-EnterprisePartnerApplication.ps1 -AuthMetadataUrl https://<HostName>/_layouts/15/metadata/json/1 -ApplicationType SharePoint
 

On the SharePoint side though, when I try to run:

New-SPTrustedSecurityTokenIssuer -Name Exchange -MetadataEndPoint https://<Exchange Server Name or FQDN>/autodiscover/metadata/json/1

I get this:

New-SPTrustedSecurityTokenIssuer : Exception of type
'System.ArgumentException' was thrown.
Parameter name: newObj
At line:1 char:1
+ New-SPTrustedSecurityTokenIssuer -Name "Exchange" -MetadataEndPoint
https://trek ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : InvalidData: (Microsoft.Share...rityTokenIssuer:
   SPCmdletNewTrustedSecurityTokenIssuer) [New-SPTrustedSecurityTokenIssuer],
   ArgumentException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewTrust
   edSecurityTokenIssuer

ULS logs and Event logs give me nothing.

Side note: There are differences in the TechNet documentation between Exchange and SharePoint documentation. Exchange lists the autodiscover URL correctly at: https://<Exchange Server Name or FQDN>/autodiscover/metadata/json/1 and SharePoint lists it incorrectly at: https://<HostName>/metadata/json/1


Viewing all articles
Browse latest Browse all 21070

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>