ResponseCode (InvalidRecipientResponseCodeType)

The ResponseCode element provides information about why the recipient is invalid.

<ResponseCode>OtherError or RecipientOrganizationNotFederated or CannotObtainTokenFromSTS or SystemPolicyBlocksSharingWithThisRecipient or RecipientOrganizationFederatedWithUnknownTokenIssuer</ResponseCode>

InvalidRecipientResponseCodeType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

None.

Parent elements

Element Description
InvalidRecipient
Contains the SMTP address of the invalid recipient and information about why the recipient is invalid.

Text value

The following table lists the possible values for the ResponseCode element.

Code Description
OtherError
Indicates that the error is not specified by another error response code.
RecipientOrganizationNotFederated
Indicates that a sharing relationship is not available with the organization specified in the recipient's SMTP e-mail address.
CannotObtainTokenFromSTS
Indicates that there was a problem obtaining a security token from the token server.
SystemPolicyBlocksSharingWithThisRecipient
Indicates that the system administrator has set a system policy that blocks sharing with the specified recipient.
RecipientOrganizationFederatedWithUnknownTokenIssuer
Indicates that the secure token service that is used by the specified recipient is unknown.

Remarks

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Element information

Element Example
Namespace
https://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Types schema
Validation File
Types.xsd
Can be Empty
False

See also

GetSharingMetadata operation