< Back
Remove-AllowedConsentPlans
Post
NAME Remove-AllowedConsentPlans
SYNOPSIS
Removes all consent plans of the specified types from the tenant and blocks consent plans of those type from being
created within the tenant.
SYNTAX
Remove-AllowedConsentPlans [-Types] <String[]> [[-ApiVersion] <String>] [<CommonParameters>]
DESCRIPTION
The Remove-AllowedConsentPlans cmdlet to remove consent plans of the specified types from the tenant and block
consent plans of those
type from being created within the tenant. Note that this will only impact the types specified, all others will be
unaffected.
Use Get-Help Remove-AllowedConsentPlans -Examples for more detail.
PARAMETERS
-Types <String[]>
The types of consent plans that should be removed. Valid options are Internal, Viral.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ApiVersion <String>
The api version to call with. Default 2016-11-01
Required? false
Position? 2
Default value 2019-05-01
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:\\>Remove-AllowedConsentPlans -Types @("Internal", "Viral")
RELATED LINKS
SYNOPSIS
Removes all consent plans of the specified types from the tenant and blocks consent plans of those type from being
created within the tenant.
SYNTAX
Remove-AllowedConsentPlans [-Types] <String[]> [[-ApiVersion] <String>] [<CommonParameters>]
DESCRIPTION
The Remove-AllowedConsentPlans cmdlet to remove consent plans of the specified types from the tenant and block
consent plans of those
type from being created within the tenant. Note that this will only impact the types specified, all others will be
unaffected.
Use Get-Help Remove-AllowedConsentPlans -Examples for more detail.
PARAMETERS
-Types <String[]>
The types of consent plans that should be removed. Valid options are Internal, Viral.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ApiVersion <String>
The api version to call with. Default 2016-11-01
Required? false
Position? 2
Default value 2019-05-01
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:\\>Remove-AllowedConsentPlans -Types @("Internal", "Viral")
RELATED LINKS