samlOrWsFedExternalDomainFederation resource type

Namespace: microsoft.graph


APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

A resource that allows an Azure Active Directory (Azure AD) tenant to set up federation with another organization whose identity provider (IdP) supports either the SAML or WS-Fed protocol. This enables the Azure AD tenant to allow guest users to access its resources. For more information on SAML/WS-Fed IdP federation, see Federation with SAML/WS-Fed identity providers for guest users.

Inherits from samlOrWsFedProvider.


Method Return type Description
List samlOrWsFedExternalDomainFederations samlOrWsFedExternalDomainFederation collection Get a list of the samlOrWsFedExternalDomainFederation objects and their properties.
Create samlOrWsFedExternalDomainFederation samlOrWsFedExternalDomainFederation Create a new samlOrWsFedExternalDomainFederation object.
Get samlOrWsFedExternalDomainFederation samlOrWsFedExternalDomainFederation Read the properties and relationships of a samlOrWsFedExternalDomainFederation object.
Update samlOrWsFedExternalDomainFederation samlOrWsFedExternalDomainFederation Update the properties of a samlOrWsFedExternalDomainFederation object.
Delete samlOrWsFedExternalDomainFederation None Deletes a samlOrWsFedExternalDomainFederation object.
List domains externalDomainName collection Get the externalDomainName resources from the domains navigation property.
Create externalDomainName externalDomainName Create a new externalDomainName object.


Property Type Description
displayName String The display name of the SAML or WS-Fed based IdP. Inherited from identityProviderBase.
id String The identifier of the identity provider. Inherited from entity.
issuerUri String Issuer URI of the federation server. Inherited from samlOrWsFedProvider.
metadataExchangeUri String URI of the metadata exchange endpoint used for authentication from rich client applications. Inherited from samlOrWsFedProvider.
passiveSignInUri String URI that web-based clients are directed to when signing in to Azure AD services. Inherited from samlOrWsFedProvider.
preferredAuthenticationProtocol String Preferred authentication protocol. Supported values include saml or wsfed. Inherited from samlOrWsFedProvider.
signingCertificate String Current certificate used to sign tokens passed to the Microsoft identity platform. The certificate is formatted as a Base64 encoded string of the public portion of the federated IdP's token signing certificate and must be compatible with the X509Certificate2 class.

This property is used in the following scenarios:
  • if a rollover is required outside of the autorollover update
  • a new federation service is being set up
  • if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated.

Azure AD updates certificates via an autorollover process in which it attempts to retrieve a new certificate from the federation service metadata, 30 days before expiry of the current certificate. If a new certificate isn't available, Azure AD monitors the metadata daily and will update the federation settings for the domain when a new certificate is available.

Inherited from samlOrWsFedProvider.


Relationship Type Description
domains externalDomainName collection Collection of domain names of the external organizations that the tenant is federating with. Supports $filter (eq).

JSON representation

The following is a JSON representation of the resource.

  "@odata.type": "#microsoft.graph.samlOrWsFedExternalDomainFederation",
  "id": "String (identifier)",
  "displayName": "String",
  "issuerUri": "String",
  "metadataExchangeUri": "String",
  "signingCertificate": "String",
  "passiveSignInUri": "String",
  "preferredAuthenticationProtocol": "String"