< Back

New-DeviceAppManagement_WindowsInformationProtectionPolicies_Assignments

Sat Jan 18, 2020 12:18 pm

NAME New-DeviceAppManagement_WindowsInformationProtectionPolicies_Assignments



SYNOPSIS

Creates a "microsoft.graph.targetedManagedAppPolicyAssignment" object.





SYNTAX

New-DeviceAppManagement_WindowsInformationProtectionPolicies_Assignments -windowsInformationProtectionPolicyId

<string> -windowsInformationProtectionPolicyODataType <string> [-target <object>] [<CommonParameters>]



New-DeviceAppManagement_WindowsInformationProtectionPolicies_Assignments -ODataType <string>

-windowsInformationProtectionPolicyId <string> -windowsInformationProtectionPolicyODataType <string> [-target

<object>] [<CommonParameters>]





DESCRIPTION

Adds a "microsoft.graph.targetedManagedAppPolicyAssignment" object to the "assignments" collection.



Navigation property to list of security groups targeted for policy.



Graph call: POST ~/deviceAppManagement/windowsInformationProtectionPolicies/{windowsInformationProtectionPolicyId}/

{windowsInformationProtectionPolicyODataType}/assignments





PARAMETERS

-windowsInformationProtectionPolicyId <string>

A required ID for referencing a "microsoft.graph.windowsInformationProtectionPolicy" object in the

"windowsInformationProtectionPolicies" collection.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-windowsInformationProtectionPolicyODataType <string>

A required type cast for referencing properties that exist only on certain types of

"microsoft.graph.windowsInformationProtectionPolicy" objects.



Valid values: 'microsoft.graph.windowsInformationProtectionPolicy'



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-target <object>

The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".



This property is on the "microsoft.graph.targetedManagedAppPolicyAssignment" type.



Identifier for deployment of a group or app



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ODataType <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-@odata.type <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



This is an alias of the ODataType parameter.



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

A required ID for referencing a "microsoft.graph.windowsInformationProtectionPolicy" object in the

"windowsInformationProtectionPolicies" collection.



System.String

A required type cast for referencing properties that exist only on certain types of

"microsoft.graph.windowsInformationProtectionPolicy" objects.



Valid values: 'microsoft.graph.windowsInformationProtectionPolicy'



System.Object

The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".



This property is on the "microsoft.graph.targetedManagedAppPolicyAssignment" type.



Identifier for deployment of a group or app



System.String

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK