Remove-EntraExternalDomainFederation

Delete an externalDomainFederation by external domain name.

Syntax

Remove-EntraExternalDomainFederation
      -ExternalDomainName <String>
      [<CommonParameters>]

Description

This Remove-EntraExternalDomainFederation cmdlet removes an externalDomainFederation by external domain name.

Examples

Example 1: Deletes an external domain federation setting for a given external domain

Connect-Entra -Scopes 'Domain.ReadWrite.All'
Remove-EntraExternalDomainFederation -ExternalDomainName 'test.com'

This command deletes an external domain federation setting.

  • ExternalDomainName Parameter specifies unique identifer of an externalDomainFederation.

Parameters

-ExternalDomainName

The unique identifer of an externalDomainFederation in Microsoft Entra ID

Type:System.String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False