< Back
Add-AllowedConsentPlans
Post
NAME Add-AllowedConsentPlans
SYNOPSIS
Allows consent plans of the specified types to be created within the tenant.
SYNTAX
Add-AllowedConsentPlans [-Types] <String[]> [[-ApiVersion] <String>] [<CommonParameters>]
DESCRIPTION
The Add-AllowedConsentPlans cmdlet to allow creation of consent plans of the specified types within the tenant.
Note that this will only impact the types specified, all others will be unaffected.
Use Get-Help Add-AllowedConsentPlans -Examples for more detail.
PARAMETERS
-Types <String[]>
The types of consent plans that should become allowed. 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:\\>Add-AllowedConsentPlans -Types @("Internal", "Viral")
RELATED LINKS
SYNOPSIS
Allows consent plans of the specified types to be created within the tenant.
SYNTAX
Add-AllowedConsentPlans [-Types] <String[]> [[-ApiVersion] <String>] [<CommonParameters>]
DESCRIPTION
The Add-AllowedConsentPlans cmdlet to allow creation of consent plans of the specified types within the tenant.
Note that this will only impact the types specified, all others will be unaffected.
Use Get-Help Add-AllowedConsentPlans -Examples for more detail.
PARAMETERS
-Types <String[]>
The types of consent plans that should become allowed. 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:\\>Add-AllowedConsentPlans -Types @("Internal", "Viral")
RELATED LINKS