Add-AdfsClaimsProviderTrustsGroup

Creates a claims provider trust group based on metadata that contains multiple entities.

Syntax

Add-AdfsClaimsProviderTrustsGroup
   -MetadataFile <String>
   [-Force]
   [-PassThru]
   [-AcceptanceTransformRules <String>]
   [-AcceptanceTransformRulesFile <String>]
   [-MonitoringEnabled <Boolean>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-AdfsClaimsProviderTrustsGroup
   -MetadataUrl <Uri>
   [-AutoUpdateEnabled <Boolean>]
   [-Force]
   [-PassThru]
   [-AcceptanceTransformRules <String>]
   [-AcceptanceTransformRulesFile <String>]
   [-MonitoringEnabled <Boolean>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Add-AdfsClaimsProviderTrustsGroup cmdlet creates a claims provider trust group based on metadata that contains multiple entities.

Examples

Example 1: Add a trust group by metadata URL

PS C:\> Add-AdfsClaimsProviderTrustsGroup -MetadataUrl https://www.contosoconsortium.com/metadata/metadata.xml

This command specifies a metadata URL to add a trust group

Example 2: Add a trust group by metadata file

PS C:\> Add-AdfsClaimsProviderTrustsGroup -MetadataFile "C:\metadata.xml"

This command specifies a metadata file to add a trust group.

Parameters

-AcceptanceTransformRules

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

-AcceptanceTransformRulesFile

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

-AutoUpdateEnabled

Indicates whether automatic updates are enabled.

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

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-Force

Forces the command to run without asking for user confirmation.

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

-MetadataFile

Specifies the file path and name of a metadata file on the local file system.

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

-MetadataUrl

Specifies the URL of a metadata file available on the public Internet.

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

-MonitoringEnabled

Indicates whether monitoring is enabled.

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

-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

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:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False