title | description | author | localization_priority | ms.subservice | doc_type |
---|---|---|---|---|---|
List macOSPkgApps |
List properties and relationships of the macOSPkgApp objects. |
jaiprakashmb |
Normal |
intune |
apiPageType |
Namespace: microsoft.graph
Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.
Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.
List properties and relationships of the macOSPkgApp objects.
[!INCLUDE national-cloud-support]
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | DeviceManagementConfiguration.Read.All, DeviceManagementConfiguration.ReadWrite.All, DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | DeviceManagementConfiguration.Read.All, DeviceManagementConfiguration.ReadWrite.All, DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All |
GET /deviceAppManagement/mobileApps
Header | Value |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Accept | application/json |
Do not supply a request body for this method.
If successful, this method returns a 200 OK
response code and a collection of macOSPkgApp objects in the response body.
Here is an example of the request.
GET https://graph.microsoft.com/beta/deviceAppManagement/mobileApps
Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 2307
{
"value": [
{
"@odata.type": "#microsoft.graph.macOSPkgApp",
"id": "fb6a88d3-88d3-fb6a-d388-6afbd3886afb",
"displayName": "Display Name value",
"description": "Description value",
"publisher": "Publisher value",
"largeIcon": {
"@odata.type": "microsoft.graph.mimeContent",
"type": "Type value",
"value": "dmFsdWU="
},
"createdDateTime": "2017-01-01T00:02:43.5775965-08:00",
"lastModifiedDateTime": "2017-01-01T00:00:35.1329464-08:00",
"isFeatured": true,
"privacyInformationUrl": "https://example.com/privacyInformationUrl/",
"informationUrl": "https://example.com/informationUrl/",
"owner": "Owner value",
"developer": "Developer value",
"notes": "Notes value",
"uploadState": 11,
"publishingState": "processing",
"isAssigned": true,
"roleScopeTagIds": [
"Role Scope Tag Ids value"
],
"dependentAppCount": 1,
"supersedingAppCount": 3,
"supersededAppCount": 2,
"committedContentVersion": "Committed Content Version value",
"fileName": "File Name value",
"size": 4,
"primaryBundleId": "Primary Bundle Id value",
"primaryBundleVersion": "Primary Bundle Version value",
"includedApps": [
{
"@odata.type": "microsoft.graph.macOSIncludedApp",
"bundleId": "Bundle Id value",
"bundleVersion": "Bundle Version value"
}
],
"ignoreVersionDetection": true,
"minimumSupportedOperatingSystem": {
"@odata.type": "microsoft.graph.macOSMinimumOperatingSystem",
"v10_7": true,
"v10_8": true,
"v10_9": true,
"v10_10": true,
"v10_11": true,
"v10_12": true,
"v10_13": true,
"v10_14": true,
"v10_15": true,
"v11_0": true,
"v12_0": true,
"v13_0": true,
"v14_0": true
},
"preInstallScript": {
"@odata.type": "microsoft.graph.macOSAppScript",
"scriptContent": "Script Content value"
},
"postInstallScript": {
"@odata.type": "microsoft.graph.macOSAppScript",
"scriptContent": "Script Content value"
}
}
]
}