MSExchangeGuru.com

Learn Exchange the Guru way !!!

 

Exchange 2013/2016: Calendar Federation Failed One Way

Last week I configured Calendar Federation between 2 Forest and 2 Exchange 2013 ORGs. From Org A to B calendar sharing was working but ORG B to A was not working. This blog covers, how did we fix this issue.

 

We shared the blog on how to configure the calendar sharing: https://msexchangeguru.com/2016/09/30/e2013-2016-multi-org-calendar-sharing/

 

Issue:

One-way calendar federation is working and other was is not working.

AutodiscoverServiceCallFailed

The Autodiscover call failed.

 

Resolution:

We found some DNS resolutions issue because of some stale entries so enabled scavenging which took care of the DNS name resolutions

Checked event viewer but it didn’t help

Tested Federation Trust – All success

Reviewed sharing configuration but all good.

Added self-domain in the sharing but no luck

Ran the following command to check the Organization relationship configuration:

Get-Organizationrelationship | FL

 Reviewed the organization relationship configuration and fixed the following configuration

Wrong values:

TargetApplicationUri :FYDIBOHF25SPDLT.domainB

TargetAutodiscoverEpr : https://autodiscover.domainB/autodiscover/autodiscover.svc/WSSecurity

Corrected to

TargetApplicationUri : FYDIBOHF25SPDLT.DomainA

TargetAutodiscoverEpr : https://autodiscover.DomainA/autodiscover/autodiscover.svc/WSSecurity

Still we had the issue.

Tested OrganizationRelationship with the following command at in DomainB

Get-OrganizationRelationship | Test-OrganizationRelationship -UserIdentity localemailid

We got the following error


RunspaceId  : SID

Identity    :

Id          : AutodiscoverServiceCallFailed

Status      : Error

Description : The Autodiscover call failed.

IsValid     : True

ObjectState : New

Added the following in the Organization relationship which is recommend by one of EXPTA blog but no luck

-TargetSharingEpr https://mail.companyabc.com/EWS/Exchange.asmx/WSSecurity

Tested OrganizationRelationship at DomainA end and got all success which was working earlier too. This is to verify the above changes has not broken anything.

Reviewed if WSSecurityAuthentication was configured true on Web Services Virtual Directory and AutoDiscover Virtual Directory. Found True which means it was configured correctly.

We still Ran the following commands in Domain A Exchange which was not required but it was recommended to fix this issue at many blogs and KB2752387.

Get-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory -WSSecurityAuthentication $True

Get-AutodiscoverVirtualDirectory | Set-AutodiscoverVirtualDirectory -WSSecurityAuthentication $True

Then we did the IISReset.

Tested OrganizationRelationship at Domain B end and got all success. Issue fixed.


Removed the following value which was not required

-TargetSharingEpr https://mail.companyabc.com/EWS/Exchange.asmx/WSSecurity

Tested free/busy in DomainA and DomainB. Both sides were able to share the calendar.

Reference KB – https://support.microsoft.com/en-us/kb/2752387

 

Prabhat Nigam

Microsoft MVP | CTO @ Golden Five

Team@MSExchangeGuru

Don’t forget to register and watch Multi-Forest Exchange Hybrid Session. We have a discussion session in the evening at LAEXUG meeting which will be live over Internet.


Leave a Reply

Categories

Archives

MSExchangeGuru.com