< Back
Remove-DeviceAppManagement_ManagedAppPolicies_Assignments
Post
NAME Remove-DeviceAppManagement_ManagedAppPolicies_Assignments
SYNOPSIS
Removes a "microsoft.graph.targetedManagedAppPolicyAssignment" object.
SYNTAX
Remove-DeviceAppManagement_ManagedAppPolicies_Assignments -managedAppPolicyId <string> -managedAppPolicyODataType
<string> -targetedManagedAppPolicyAssignmentId <string> [<CommonParameters>]
DESCRIPTION
Removes a "microsoft.graph.targetedManagedAppPolicyAssignment" object from the "assignments" collection.
Navigation property to list of security groups targeted for policy.
Graph Call: DELETE ~/deviceAppManagement/managedAppPolicies/{managedAppPolicyId}/{managedAppPolicyODataType}/assign
ments/targetedManagedAppPolicyAssignmentId
PARAMETERS
-targetedManagedAppPolicyAssignmentId <string>
The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-managedAppPolicyId <string>
A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies"
collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-managedAppPolicyODataType <string>
A required type cast for referencing properties that exist only on certain types of
"microsoft.graph.managedAppPolicy" objects.
Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection',
'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy',
'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration',
'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection',
'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection',
'microsoft.graph.iosManagedAppProtection'
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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
System.String
The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection.
System.String
A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies"
collection.
System.String
A required type cast for referencing properties that exist only on certain types of
"microsoft.graph.managedAppPolicy" objects.
Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection',
'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy',
'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration',
'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection',
'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection',
'microsoft.graph.iosManagedAppProtection'
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK
SYNOPSIS
Removes a "microsoft.graph.targetedManagedAppPolicyAssignment" object.
SYNTAX
Remove-DeviceAppManagement_ManagedAppPolicies_Assignments -managedAppPolicyId <string> -managedAppPolicyODataType
<string> -targetedManagedAppPolicyAssignmentId <string> [<CommonParameters>]
DESCRIPTION
Removes a "microsoft.graph.targetedManagedAppPolicyAssignment" object from the "assignments" collection.
Navigation property to list of security groups targeted for policy.
Graph Call: DELETE ~/deviceAppManagement/managedAppPolicies/{managedAppPolicyId}/{managedAppPolicyODataType}/assign
ments/targetedManagedAppPolicyAssignmentId
PARAMETERS
-targetedManagedAppPolicyAssignmentId <string>
The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-managedAppPolicyId <string>
A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies"
collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-managedAppPolicyODataType <string>
A required type cast for referencing properties that exist only on certain types of
"microsoft.graph.managedAppPolicy" objects.
Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection',
'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy',
'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration',
'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection',
'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection',
'microsoft.graph.iosManagedAppProtection'
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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
System.String
The ID for a "microsoft.graph.targetedManagedAppPolicyAssignment" object in the "assignments" collection.
System.String
A required ID for referencing a "microsoft.graph.managedAppPolicy" object in the "managedAppPolicies"
collection.
System.String
A required type cast for referencing properties that exist only on certain types of
"microsoft.graph.managedAppPolicy" objects.
Valid values: 'microsoft.graph.managedAppPolicy', 'microsoft.graph.windowsInformationProtection',
'microsoft.graph.windowsInformationProtectionPolicy', 'microsoft.graph.mdmWindowsInformationProtectionPolicy',
'microsoft.graph.managedAppConfiguration', 'microsoft.graph.targetedManagedAppConfiguration',
'microsoft.graph.managedAppProtection', 'microsoft.graph.defaultManagedAppProtection',
'microsoft.graph.targetedManagedAppProtection', 'microsoft.graph.androidManagedAppProtection',
'microsoft.graph.iosManagedAppProtection'
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK