Get-AzureADMSTrustFrameworkPolicy

This cmdlet is used to retrieve the created trust framework policies (custom policies) in the directory.

Syntax

Get-AzureADMSTrustFrameworkPolicy []
Get-AzureADMSTrustFrameworkPolicy
   -Id <String>
   [-OutputFilePath <String>]
   [<CommonParameters>]

Description

This cmdlet is used to retrieve the trust framework policies that have been created in the directory.

Examples

Example 1

PS C:\> Get-AzureADMSTrustFrameworkPolicy

This example retrieves the list of all trust framework policies in the directory.

Example 2

PS C:\> Get-AzureADMSTrustFrameworkPolicy -Id B2C_1A_signup_signin

This example retrieves the contents of the specified trust framework policy.

Parameters

-Id

The unique identifier for a trust framework policy.

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

-OutputFilePath

@{Description=System.Management.Automation.PSObject[]}

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

Inputs

String

Outputs

Object