Remove-AzureADMSPermissionGrantConditionSet
Delete an Azure Active Directory permission grant condition set by id
Syntax
Default (Default)
Remove-AzureADMSPermissionGrantConditionSet
-PolicyId <String>
-ConditionSetType <String>
-Id <String>
[<CommonParameters>]
Description
Delete an Azure Active Directory permission grant condition set object by id.
Examples
Example 1: Delete a permission grant condition set from a policy
PS C:\>Remove-AzureADMSPermissionGrantConditionSet -PolicyId "policy1" -ConditionSetType "excludes" -Id "665a9903-0398-48ab-b4e9-7a570d468b66"
Parameters
-ConditionSetType
The value indicates whether the condition sets are included in the policy or excluded.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Id
The unique identifier of an Azure Active Directory permission grant condition set object.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-PolicyId
The unique identifier of an Azure Active Directory permission grant policy object.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
string
string
string
Notes
See the migration guide for Remove-AzureADMSPermissionGrantConditionSet to the Microsoft Graph PowerShell.