< Back
Remove-AzureRmApiManagementOpenIdConnectProvider
Post
NAME Remove-AzureRmApiManagementOpenIdConnectProvider
SYNOPSIS
Removes an OpenID Connect provider.
SYNTAX
Remove-AzureRmApiManagementOpenIdConnectProvider -Context <PsApiManagementContext> [-DefaultProfile <IAzureContextContainer>]
-OpenIdConnectProviderId <String> [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Remove-AzureRmApiManagementOpenIdConnectProvider cmdlet removes an OpenID Connect provider for Azure API Management.
PARAMETERS
-Context <PsApiManagementContext>
Specifies a PsApiManagementContext object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OpenIdConnectProviderId <String>
Specifies an ID of the provider that this cmdlet removes.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Indicates that this cmdlet returns a value of $True if the operation succeeds or $False otherwise.
Required? false
Position? named
Default value False
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Boolean
NOTES
Example 1: Remove a provider
PS C:\\>$apimContext = New-AzureRmApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
PS C:\\>Remove-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext -OpenIdConnectProviderId "OICProvicer01" -PassThru
This command removes a provider that has the ID OICProvicer01.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ctprovider
Get-AzureRmApiManagementOpenIdConnectProvider
New-AzureRmApiManagementOpenIdConnectProvider
Set-AzureRmApiManagementOpenIdConnectProvider
SYNOPSIS
Removes an OpenID Connect provider.
SYNTAX
Remove-AzureRmApiManagementOpenIdConnectProvider -Context <PsApiManagementContext> [-DefaultProfile <IAzureContextContainer>]
-OpenIdConnectProviderId <String> [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
DESCRIPTION
The Remove-AzureRmApiManagementOpenIdConnectProvider cmdlet removes an OpenID Connect provider for Azure API Management.
PARAMETERS
-Context <PsApiManagementContext>
Specifies a PsApiManagementContext object.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-OpenIdConnectProviderId <String>
Specifies an ID of the provider that this cmdlet removes.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Indicates that this cmdlet returns a value of $True if the operation succeeds or $False otherwise.
Required? false
Position? named
Default value False
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value False
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 (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Boolean
NOTES
Example 1: Remove a provider
PS C:\\>$apimContext = New-AzureRmApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
PS C:\\>Remove-AzureRmApiManagementOpenIdConnectProvider -Context $apimContext -OpenIdConnectProviderId "OICProvicer01" -PassThru
This command removes a provider that has the ID OICProvicer01.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ctprovider
Get-AzureRmApiManagementOpenIdConnectProvider
New-AzureRmApiManagementOpenIdConnectProvider
Set-AzureRmApiManagementOpenIdConnectProvider