Exchange Federation not working
now maybe someone can help me.
info, we are trying to federate exchange systems in domain a and domain b. systems are exchange 2010 sp1. They are not in a forest, and have no trusts what so ever setup between the two. We created setup the Trust with the Microsoft
Federation Gateway. Added the required Proof hash to the TXT record, and successfully created the trust with exchangedelegation.a.com and exchangedelegation.b.com as the address namespace and accepted domain. We then added a.com and b.com
as the federated domain. After that we created an Organization Relationship using the autoconfigure options (which worked just fine), and set the permissions to allow freebusy information and did not set up a security group.
test-federationtrust completes with NO errors. Everything is successful.
get-federationinformation for a.com and b.com complete successful
test-outlookwebservices -identity xxx@a.com -targeraddress xxx@b.com (ran from a.com exchange server) gives the following errors
RunspaceId : 45a95c82-ddcb-4908-917c-ce81eb003a11
Id : 1011
Type : Error
Message : Receipent address xxx@b.com is invalid. Please check your command parameters.
RunspaceId : 45a95c82-ddcb-4908-917c-ce81eb003a11
Id : 1011
Type : Error
Message : Receipent address xxx@b.com is invalid. Please check your command parameters.
RunspaceId : 45a95c82-ddcb-4908-917c-ce81eb003a11
Id : 1111
Type : Error
Message : Receipent address xxx@b.com is invalid. Please check your command parameters.
users in a.com are unable to see free busy information for users in b.com and vice versa. Please help.
May 24th, 2011 2:20am
Hi,
Did you try to run the command without the identity parameter?
From the help file:
The Identity parameter specifies any valid e-mail address in the forest. If you specify this parameter, incorrectly formed e-mail addresses
and addresses that are outside the forest are rejected. This address is used to test the Outlook provider. This property accepts the domain and user name in the
domain\user name format or an Active Directory GUID and resolves them to the SMTP address that's needed to authenticate
Leif
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2011 4:36am
No i hadnt tried that. When i run test-outlookwebservices without the -identity parameter i get this
test-outlookwebservices -targetaddress xxx@a.com (ran from the exchange server in domain a)
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1019
Type : Information
Message : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://E1
0CAS1.a.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1006
Type : Information
Message : Contacted the Autodiscover service at https://E10CAS1.a.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1016
Type : Information
Message : [EXCH] The AS is configured for this user in the Autodiscover response received from https://E10CAS1.Enpoi
nte.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1015
Type : Information
Message : [EXCH] The OAB is configured for this user in the Autodiscover response received from https://E10CAS1.Enpo
inte.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1014
Type : Information
Message : [EXCH] The UM is configured for this user in the Autodiscover response received from https://E10CAS1.Enpoi
nte.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1016
Type : Information
Message : [EXPR] The AS is configured for this user in the Autodiscover response received from https://E10CAS1.Enpoi
nte.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1015
Type : Information
Message : [EXPR] The OAB is configured for this user in the Autodiscover response received from https://E10CAS1.Enpo
inte.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1014
Type : Information
Message : [EXPR] The UM is configured for this user in the Autodiscover response received from https://E10CAS1.Enpoi
nte.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1022
Type : Success
Message : Autodiscover was tested successfully.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1024
Type : Success
Message : [EXCH] Successfully contacted the AS service at https://e10cas1.a.com/EWS/Exchange.asmx. The elapse
d time was 62 milliseconds.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1026
Type : Success
Message : [EXCH] Successfully contacted the UM service at https://e10cas1.a.com/EWS/Exchange.asmx. The elapse
d time was 15 milliseconds.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1024
Type : Success
Message : [EXPR] Successfully contacted the AS service at https://autodiscover.a.com/ews/exchange.asmx. The e
lapsed time was 531 milliseconds.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1026
Type : Success
Message : [EXPR] Successfully contacted the UM service at https://autodiscover.a.com/ews/exchange.asmx. The e
lapsed time was 31 milliseconds.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1124
Type : Success
Message : [Server] Successfully contacted the AS service at https://e10cas1.a.com/ews/exchange.asmx. The elap
sed time was 78 milliseconds.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1126
Type : Success
Message : [Server] Successfully contacted the UM service at https://e10cas1.a.com/ews/exchange.asmx. The elap
sed time was 0 milliseconds.
test-outlookwebservices -targetaddress xxx@b.com (ran from the A.com exchange server)
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1019
Type : Information
Message : A valid Autodiscover service connection point was found. The Autodiscover URL on this object is https://E1
0CAS1.a.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1006
Type : Information
Message : Contacted the Autodiscover service at https://E10CAS1.a.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1016
Type : Information
Message : [EXCH] The AS is configured for this user in the Autodiscover response received from https://E10CAS1.Enpoi
nte.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1015
Type : Information
Message : [EXCH] The OAB is configured for this user in the Autodiscover response received from https://E10CAS1.Enpo
inte.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1014
Type : Information
Message : [EXCH] The UM is configured for this user in the Autodiscover response received from https://E10CAS1.Enpoi
nte.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1016
Type : Information
Message : [EXPR] The AS is configured for this user in the Autodiscover response received from https://E10CAS1.Enpoi
nte.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1015
Type : Information
Message : [EXPR] The OAB is configured for this user in the Autodiscover response received from https://E10CAS1.Enpo
inte.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1014
Type : Information
Message : [EXPR] The UM is configured for this user in the Autodiscover response received from https://E10CAS1.Enpoi
nte.com/Autodiscover/Autodiscover.xml.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1022
Type : Success
Message : Autodiscover was tested successfully.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1011
Type : Error
Message : When querying Availability for xxx@b.com received ErrorProxyRequestProcessingFailed:System.Web.S
ervices.Protocols.SoapHeaderException: An error occurred when verifying security for the message.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResp
onse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.Proxy.Service.EndGetUserAvailability(IAsyncResult
asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.FreeBusyApplication.EndProxyWebRequest(ProxyWebReq
uest proxyWebRequest, QueryList queryList, Service service, IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.ProxyWebRequest.EndInvoke(IAsyncResult asyncResult
)
at Microsoft.Exchange.InfoWorker.Common.Availability.AsyncWebRequest.EndInvokeWithErrorHandling(). The
request information is ProxyWebRequest type = FederatedCrossForest, url = https://mail.b.com/ews/ex
change.asmx/WSSecurity
Mailbox list = <>SMTP:xxx@b.com, Parameters: windowStart = 5/24/2011 1:00:00 AM, windowEnd = 5/2
4/2011 2:00:00 AM, MergedFBInterval = 30, RequestedView = FreeBusy
., inner exception: An error occurred when verifying security for the message.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1025
Type : Error
Message : [EXCH] Error contacting the AS service at https://e10cas1.a.com/EWS/Exchange.asmx. Elapsed time was
93 milliseconds.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1026
Type : Success
Message : [EXCH] Successfully contacted the UM service at https://e10cas1.a.com/EWS/Exchange.asmx. The elapse
d time was 15 milliseconds.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1011
Type : Error
Message : When querying Availability for xxx@b.com received ErrorProxyRequestProcessingFailed:System.Web.S
ervices.Protocols.SoapHeaderException: An error occurred when verifying security for the message.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResp
onse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.Proxy.Service.EndGetUserAvailability(IAsyncResult
asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.FreeBusyApplication.EndProxyWebRequest(ProxyWebReq
uest proxyWebRequest, QueryList queryList, Service service, IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.ProxyWebRequest.EndInvoke(IAsyncResult asyncResult
)
at Microsoft.Exchange.InfoWorker.Common.Availability.AsyncWebRequest.EndInvokeWithErrorHandling(). The
request information is ProxyWebRequest type = FederatedCrossForest, url = https://mail.b.com/ews/ex
change.asmx/WSSecurity
Mailbox list = <>SMTP:xxx@b.com, Parameters: windowStart = 5/24/2011 1:00:00 AM, windowEnd = 5/2
4/2011 2:00:00 AM, MergedFBInterval = 30, RequestedView = FreeBusy
., inner exception: An error occurred when verifying security for the message.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1025
Type : Error
Message : [EXPR] Error contacting the AS service at https://autodiscover.a.com/ews/exchange.asmx. Elapsed tim
e was 31 milliseconds.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1026
Type : Success
Message : [EXPR] Successfully contacted the UM service at https://autodiscover.a.com/ews/exchange.asmx. The e
lapsed time was 15 milliseconds.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1111
Type : Error
Message : When querying Availability for xxx@b.com received ErrorProxyRequestProcessingFailed:System.Web.S
ervices.Protocols.SoapHeaderException: An error occurred when verifying security for the message.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResp
onse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.Proxy.Service.EndGetUserAvailability(IAsyncResult
asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.FreeBusyApplication.EndProxyWebRequest(ProxyWebReq
uest proxyWebRequest, QueryList queryList, Service service, IAsyncResult asyncResult)
at Microsoft.Exchange.InfoWorker.Common.Availability.ProxyWebRequest.EndInvoke(IAsyncResult asyncResult
)
at Microsoft.Exchange.InfoWorker.Common.Availability.AsyncWebRequest.EndInvokeWithErrorHandling(). The
request information is ProxyWebRequest type = FederatedCrossForest, url = https://mail.b.com/ews/ex
change.asmx/WSSecurity
Mailbox list = <>SMTP:xxx@b.com, Parameters: windowStart = 5/24/2011 1:00:00 AM, windowEnd = 5/2
4/2011 2:00:00 AM, MergedFBInterval = 30, RequestedView = FreeBusy
., inner exception: An error occurred when verifying security for the message.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1125
Type : Error
Message : [Server] Error contacting the AS service at https://e10cas1.a.com/ews/exchange.asmx. Elapsed time w
as 687 milliseconds.
RunspaceId : 2f1edf6a-de39-4970-a76a-779894fd5bfc
Id : 1126
Type : Success
Message : [Server] Successfully contacted the UM service at https://e10cas1.a.com/ews/exchange.asmx. The elap
sed time was 0 milliseconds.
May 24th, 2011 1:07pm
Do you run
test-federationtrust command on each Exchange 2010 CAS server? Have you detected any problem?
Please assure MS federation gateway, organization relationship and sharing policies with each other are configured successfully. For more information, please refer
to the following article:
http://technet.microsoft.com/en-us/library/dd638083.aspx
Thanks.
NovakPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
May 29th, 2011 10:38pm