Edit

Share via


mobileAppAssignment resource type

Namespace: microsoft.graph

Important: APIs under the /beta version in Microsoft Graph are subject to change which could break your applications. While Intune /beta APIs are supported by Microsoft, you should use these at your own discretion. In general, /beta APIs are not recommended for use in production applications. To determine whether an API is available in v1.0, use the Version selector

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

A class containing the properties used for Group Assignment of a Mobile App.

Methods

Method Return Type Description
List mobileAppAssignments mobileAppAssignment collection List properties and relationships of the mobileAppAssignment objects.
Get mobileAppAssignment mobileAppAssignment Read properties and relationships of the mobileAppAssignment object.
Create mobileAppAssignment mobileAppAssignment Create a new mobileAppAssignment object.
Delete mobileAppAssignment None Deletes a mobileAppAssignment.
Update mobileAppAssignment mobileAppAssignment Update the properties of a mobileAppAssignment object.

Properties

Property Type Description
id String Key of the entity. This property is read-only.
intent installIntent The install intent defined by the admin. Possible values are: available, required, uninstall, availableWithoutEnrollment.
target deviceAndAppManagementAssignmentTarget The target group assignment defined by the admin.
settings mobileAppAssignmentSettings The settings for target assignment defined by the admin.
source deviceAndAppManagementAssignmentSource The resource type which is the source for the assignment. This property is read-only. Possible values are: direct, policySets.
sourceId String The identifier of the source of the assignment. This property is read-only.

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.mobileAppAssignment",
  "id": "String (identifier)",
  "intent": "String",
  "target": {
    "@odata.type": "microsoft.graph.allLicensedUsersAssignmentTarget",
    "deviceAndAppManagementAssignmentFilterId": "String",
    "deviceAndAppManagementAssignmentFilterType": "String"
  },
  "settings": {
    "@odata.type": "microsoft.graph.winGetAppAssignmentSettings",
    "notifications": "String",
    "restartSettings": {
      "@odata.type": "microsoft.graph.winGetAppRestartSettings",
      "gracePeriodInMinutes": 1024,
      "countdownDisplayBeforeRestartInMinutes": 1024,
      "restartNotificationSnoozeDurationInMinutes": 1024
    },
    "installTimeSettings": {
      "@odata.type": "microsoft.graph.winGetAppInstallTimeSettings",
      "useLocalTime": true,
      "deadlineDateTime": "String (timestamp)"
    }
  },
  "source": "String",
  "sourceId": "String"
}