Muokkaa

Jaa


Remove-MsolFederatedDomain

Removes a single sign-on domain from the domains in Microsoft Online.

Syntax

Remove-MsolFederatedDomain
      [-SupportMultipleDomain]
      -DomainName <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-MsolFederatedDomain cmdlet removes the specified single sign-on domain from Microsoft Online and the associated relying party trust settings in Active Directory Federation Services 2.0.

If the domain specified has objects associated with it, you cannot remove the domain.

Parameters

-Confirm

Prompts you for confirmation before running the command.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DomainName

Specifies the name of the single sign-on domain to remove.

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

-SupportMultipleDomain

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False