Skip to main content

federation_configuration

Creates, updates, deletes, gets or lists a federation_configuration resource.

Overview

Namefederation_configuration
TypeResource
Identra_id.domains.federation_configuration

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
activeSignInUristringURL of the endpoint used by active clients when authenticating with federated domains set up for single sign-on in Microsoft Entra ID. Corresponds to the ActiveLogOnUri property of the Set-EntraDomainFederationSettings PowerShell cmdlet.
displayNamestringThe display name of the identity provider.
federatedIdpMfaBehaviorDetermines whether Microsoft Entra ID accepts the MFA performed by the federated IdP when a federated user accesses an application that is governed by a conditional access policy that requires MFA. The possible values are: acceptIfMfaDoneByFederatedIdp, enforceMfaByFederatedIdp, rejectMfaByFederatedIdp, unknownFutureValue. For more information, see federatedIdpMfaBehavior values.
isSignedAuthenticationRequestRequiredbooleanIf true, when SAML authentication requests are sent to the federated SAML IdP, Microsoft Entra ID will sign those requests using the OrgID signing key. If false (default), the SAML authentication requests sent to the federated IdP aren't signed.
issuerUristringIssuer URI of the federation server.
metadataExchangeUristringURI of the metadata exchange endpoint used for authentication from rich client applications.
nextSigningCertificatestringFallback token signing certificate that can also be used to sign tokens, for example when the primary signing certificate expires. Formatted as Base64 encoded strings of the public portion of the federated IdP's token signing certificate. Needs to be compatible with the X509Certificate2 class. Much like the signingCertificate, the nextSigningCertificate property is used if a rollover is required outside of the auto-rollover update, a new federation service is being set up, or if the new token signing certificate isn't present in the federation properties after the federation service certificate has been updated.
passiveSignInUristringURI that web-based clients are directed to when signing in to Microsoft Entra services.
passwordResetUristring
preferredAuthenticationProtocolPreferred authentication protocol. The possible values are: wsFed, saml, unknownFutureValue.
promptLoginBehaviorSets the preferred behavior for the sign-in prompt. The possible values are: translateToFreshPasswordAuthentication, nativeSupport, disabled, unknownFutureValue.
signOutUristringURI that clients are redirected to when they sign out of Microsoft Entra services. Corresponds to the LogOffUri property of the Set-EntraDomainFederationSettings PowerShell cmdlet.
signingCertificatestringCurrent 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. Microsoft Entra ID 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, Microsoft Entra ID monitors the metadata daily and will update the federation settings for the domain when a new certificate is available.
signingCertificateUpdateStatusProvides status and timestamp of the last update of the signing certificate.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomain_id, internal_domain_federation_idRead the properties and relationships of an internalDomainFederation object.
listselectdomain_idRead the properties of the internalDomainFederation objects for the domain. This API returns only one object in the collection.
insertinsertdomain_idCreate a new internalDomainFederation object.
updateupdatedomain_id, internal_domain_federation_idUpdate the properties of an internalDomainFederation object.
deletedeletedomain_id, internal_domain_federation_idIf-MatchDelete an internalDomainFederation object.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domain_idstringThe unique identifier of domain
internal_domain_federation_idstringThe unique identifier of internalDomainFederation
If-MatchstringETag

SELECT examples

Read the properties and relationships of an internalDomainFederation object.

SELECT
id,
activeSignInUri,
displayName,
federatedIdpMfaBehavior,
isSignedAuthenticationRequestRequired,
issuerUri,
metadataExchangeUri,
nextSigningCertificate,
passiveSignInUri,
passwordResetUri,
preferredAuthenticationProtocol,
promptLoginBehavior,
signOutUri,
signingCertificate,
signingCertificateUpdateStatus
FROM entra_id.domains.federation_configuration
WHERE domain_id = '{{ domain_id }}' -- required
AND internal_domain_federation_id = '{{ internal_domain_federation_id }}' -- required
;

INSERT examples

Create a new internalDomainFederation object.

INSERT INTO entra_id.domains.federation_configuration (
id,
displayName,
issuerUri,
metadataExchangeUri,
passiveSignInUri,
preferredAuthenticationProtocol,
signingCertificate,
activeSignInUri,
federatedIdpMfaBehavior,
isSignedAuthenticationRequestRequired,
nextSigningCertificate,
passwordResetUri,
promptLoginBehavior,
signingCertificateUpdateStatus,
signOutUri,
domain_id
)
SELECT
'{{ id }}',
'{{ displayName }}',
'{{ issuerUri }}',
'{{ metadataExchangeUri }}',
'{{ passiveSignInUri }}',
'{{ preferredAuthenticationProtocol }}',
'{{ signingCertificate }}',
'{{ activeSignInUri }}',
'{{ federatedIdpMfaBehavior }}',
{{ isSignedAuthenticationRequestRequired }},
'{{ nextSigningCertificate }}',
'{{ passwordResetUri }}',
'{{ promptLoginBehavior }}',
'{{ signingCertificateUpdateStatus }}',
'{{ signOutUri }}',
'{{ domain_id }}'
RETURNING
id,
activeSignInUri,
displayName,
federatedIdpMfaBehavior,
isSignedAuthenticationRequestRequired,
issuerUri,
metadataExchangeUri,
nextSigningCertificate,
passiveSignInUri,
passwordResetUri,
preferredAuthenticationProtocol,
promptLoginBehavior,
signOutUri,
signingCertificate,
signingCertificateUpdateStatus
;

UPDATE examples

Update the properties of an internalDomainFederation object.

UPDATE entra_id.domains.federation_configuration
SET
id = '{{ id }}',
displayName = '{{ displayName }}',
issuerUri = '{{ issuerUri }}',
metadataExchangeUri = '{{ metadataExchangeUri }}',
passiveSignInUri = '{{ passiveSignInUri }}',
preferredAuthenticationProtocol = '{{ preferredAuthenticationProtocol }}',
signingCertificate = '{{ signingCertificate }}',
activeSignInUri = '{{ activeSignInUri }}',
federatedIdpMfaBehavior = '{{ federatedIdpMfaBehavior }}',
isSignedAuthenticationRequestRequired = {{ isSignedAuthenticationRequestRequired }},
nextSigningCertificate = '{{ nextSigningCertificate }}',
passwordResetUri = '{{ passwordResetUri }}',
promptLoginBehavior = '{{ promptLoginBehavior }}',
signingCertificateUpdateStatus = '{{ signingCertificateUpdateStatus }}',
signOutUri = '{{ signOutUri }}'
WHERE
domain_id = '{{ domain_id }}' --required
AND internal_domain_federation_id = '{{ internal_domain_federation_id }}' --required
RETURNING
id,
activeSignInUri,
displayName,
federatedIdpMfaBehavior,
isSignedAuthenticationRequestRequired,
issuerUri,
metadataExchangeUri,
nextSigningCertificate,
passiveSignInUri,
passwordResetUri,
preferredAuthenticationProtocol,
promptLoginBehavior,
signOutUri,
signingCertificate,
signingCertificateUpdateStatus;

DELETE examples

Delete an internalDomainFederation object.

DELETE FROM entra_id.domains.federation_configuration
WHERE domain_id = '{{ domain_id }}' --required
AND internal_domain_federation_id = '{{ internal_domain_federation_id }}' --required
AND If-Match = '{{ If-Match }}'
;