< Back

Get-AADB2CPolicy

Fri Jan 10, 2020 5:34 pm

NAME Get-AADB2CPolicy



SYNOPSIS

Gets an Azure AD B2C policies.





SYNTAX

Get-AADB2CPolicy [-ClientId] <String> [-ClientSecret] <String> [-TenantId] <String> [<CommonParameters>]





DESCRIPTION

The Get-AADB2CPolicy cmdlet gets an Azure Active Directory B2C policies.





PARAMETERS

-ClientId <String>

Specify the client ID you which to use.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ClientSecret <String>

Specify the Client Secret you which to use.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TenantId <String>

Specify the Azure AD B2C tenant ID.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-AADB2CPolicy -ClientId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -ClientSecret xxxxxxxxxxxxxxxxxxx -TenantId

xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx



This command gets a list of policy names from your Azure AD B2C tenant











RELATED LINKS

New-AADB2CPolicy

Remove-AADB2CPolicy