< Back
Update-DeviceAppManagement_MobileApps_Assignments
Post
NAME Update-DeviceAppManagement_MobileApps_Assignments
SYNOPSIS
Updates a "microsoft.graph.mobileAppAssignment".
SYNTAX
Update-DeviceAppManagement_MobileApps_Assignments -mobileAppAssignmentId <string> -mobileAppId <string> [-intent
<string>] [-settings <object>] [-target <object>] [<CommonParameters>]
Update-DeviceAppManagement_MobileApps_Assignments -mobileAppAssignmentId <string> -mobileAppId <string> -ODataType
<string> [-intent <string>] [-settings <object>] [-target <object>] [<CommonParameters>]
DESCRIPTION
Updates a "microsoft.graph.mobileAppAssignment" object in the "assignments" collection.
The list of group assignments for this mobile app.
Graph Call: PATCH ~/deviceAppManagement/mobileApps/{mobileAppId}/assignments
PARAMETERS
-mobileAppAssignmentId <string>
The ID for a "microsoft.graph.mobileAppAssignment" object in the "assignments" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-mobileAppId <string>
A required ID for referencing a "microsoft.graph.mobileApp" object in the "mobileApps" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-intent <string>
The "intent" property, of type "microsoft.graph.installIntent".
This property is on the "microsoft.graph.mobileAppAssignment" type.
The install intent defined by the admin.
Valid values: 'available', 'required', 'uninstall', 'availableWithoutEnrollment'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-target <object>
The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".
This property is on the "microsoft.graph.mobileAppAssignment" type.
The target group assignment defined by the admin.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-settings <object>
The "settings" property, of type "microsoft.graph.mobileAppAssignmentSettings".
This property is on the "microsoft.graph.mobileAppAssignment" type.
The settings for target assignment defined by the admin.
Required? false
Position? named
Default value
Accept pipeline input? false
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
The ID for a "microsoft.graph.mobileAppAssignment" object in the "assignments" collection.
System.String
A required ID for referencing a "microsoft.graph.mobileApp" object in the "mobileApps" collection.
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
SYNOPSIS
Updates a "microsoft.graph.mobileAppAssignment".
SYNTAX
Update-DeviceAppManagement_MobileApps_Assignments -mobileAppAssignmentId <string> -mobileAppId <string> [-intent
<string>] [-settings <object>] [-target <object>] [<CommonParameters>]
Update-DeviceAppManagement_MobileApps_Assignments -mobileAppAssignmentId <string> -mobileAppId <string> -ODataType
<string> [-intent <string>] [-settings <object>] [-target <object>] [<CommonParameters>]
DESCRIPTION
Updates a "microsoft.graph.mobileAppAssignment" object in the "assignments" collection.
The list of group assignments for this mobile app.
Graph Call: PATCH ~/deviceAppManagement/mobileApps/{mobileAppId}/assignments
PARAMETERS
-mobileAppAssignmentId <string>
The ID for a "microsoft.graph.mobileAppAssignment" object in the "assignments" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-mobileAppId <string>
A required ID for referencing a "microsoft.graph.mobileApp" object in the "mobileApps" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-intent <string>
The "intent" property, of type "microsoft.graph.installIntent".
This property is on the "microsoft.graph.mobileAppAssignment" type.
The install intent defined by the admin.
Valid values: 'available', 'required', 'uninstall', 'availableWithoutEnrollment'
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-target <object>
The "target" property, of type "microsoft.graph.deviceAndAppManagementAssignmentTarget".
This property is on the "microsoft.graph.mobileAppAssignment" type.
The target group assignment defined by the admin.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-settings <object>
The "settings" property, of type "microsoft.graph.mobileAppAssignmentSettings".
This property is on the "microsoft.graph.mobileAppAssignment" type.
The settings for target assignment defined by the admin.
Required? false
Position? named
Default value
Accept pipeline input? false
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
The ID for a "microsoft.graph.mobileAppAssignment" object in the "assignments" collection.
System.String
A required ID for referencing a "microsoft.graph.mobileApp" object in the "mobileApps" collection.
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