external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Azure.PowerShell.Cmdlets.ApiManagement.ServiceManagement.dll-Help.xml |
Az.ApiManagement |
2.0.0 |
Get the identity provider configuration details.
Get-AzApiManagementIdentityProvider -Context <PsApiManagementContext>
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzApiManagementIdentityProvider -Context <PsApiManagementContext>
-Type <PsApiManagementIdentityProviderType> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get the identity provider configuration details. ClientSecret will not be included into result details. To get client secret, use Get-AzApiManagementIdentityProviderClientSecret.
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementIdentityProvider -Context $apimContext
Get all the identity provider Configuration on the service.
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementIdentityProvider -Context $apimContext -Type Aad
Type : Aad
ClientId : aaa
ClientSecret : xxxxx
AllowedTenants : {contosotest.onmicrosoft.com}
Authority : login.microsoftonline.com
SignupPolicyName :
SigninPolicyName :
ProfileEditingPolicyName :
PasswordResetPolicyName :
SigninTenant :
Id : /subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-West-US/providers/Microsoft.ApiManagement/service/contoso/identityProviders/Aad
ResourceGroupName : Api-Default-West-US
ServiceName : contoso
Gets the Identity Provider Configuration of Azure Active Directory.
$context = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementIdentityProvider -Context $context -Type AadB2C
Type : AadB2C
ClientId : f02dafe2-b8b8-48ec-a38e-27e5c16c51e5
ClientSecret : xxxxxx
AllowedTenants : {contosoaadb2c.onmicrosoft.com}
Authority : login.microsoftonline.com
SignupPolicyName : B2C_1_policy-signup
SigninPolicyName : B2C_1_policy-signin
ProfileEditingPolicyName :
PasswordResetPolicyName :
SigninTenant : contosoaadb2c.onmicrosoft.com
Id : /subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/Api-Default-West-US/providers/Microsoft.ApiManagement/service/contoso/identityProviders/AadB2C
ResourceGroupName : Api-Default-West-US
ServiceName : contoso
Gets the Identity Provider Configuration of Azure Active Directory.
Instance of PsApiManagementContext. This parameter is required.
Type: Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementContext
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
The credentials, account, tenant, and subscription used for communication with azure.
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Identifier of a Identity Provider. If specified will try to find identity provider configuration by the identifier. This parameter is optional.
Type: Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementIdentityProviderType
Parameter Sets: IdentityProviderByType
Aliases:
Accepted values: Facebook, Google, Microsoft, Twitter, Aad, AadB2C
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.