Edit

Share via


Remove-EntraExternalDomainFederation

Delete an externalDomainFederation by external domain name.

Syntax

Default (Default)

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

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.