Hello,
I am trying to execute post call of https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps
With following request body
{
"@odata.type": "#microsoft.graph.androidStoreApp",
"displayName": "Test work",
"description": "Description value",
"publisher": "publisher name",
"isFeatured": false,
"privacyInformationUrl": "https://play.google.com/store/apps/details?id={valid app id}",
"informationUrl": "https://play.google.com/store/apps/details?id={valid app id}",
"publishingState": "PUBLISHED",
"appStoreUrl": "https://play.google.com/store/apps/details?id={valid app id}",
"minimumSupportedOperatingSystem": {
"@odata.type": "microsoft.graph.androidMinimumOperatingSystem",
"v4_0": false,
"v4_0_3": false,
"v4_1": false,
"v4_2": false,
"v4_3": false,
"v4_4": false,
"v5_0": false,
"v5_1": true
}
}
but getting exception
com.microsoft.graph.http.GraphServiceException: Error code: BadRequest
Error message: {
"_version": 3,
"Message": "An error has occurred - Operation ID (for customer support): 00000000-0000-0000-0000-000000000000 - Activity ID: 1591f5d3-5d15-43be-a6fe-1c70ce75c5d5 - Url: https://fef.msua01.manage.microsoft.com/AppLifecycle_2012/StatelessAppMetadataFEService/deviceAppManagement/mobileApps?api-version=2020-08-04",
"CustomApiErrorPhrase": "",
"RetryAfter": null,
"ErrorSourceService": "",
"HttpHeaders": "{}"
}
POST https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps
SdkVersion : graph-java/v2.5.0
SdkVersion : graph-java/v2.5.0
Authorization : [PII_REDACTED]
{"appStoreUrl":"https://play.google.com/store/apps[...]
400 : Bad Request
[...]
[Some information was truncated for brevity, enable debug logging for more details]
I am following docs
https://docs.microsoft.com/en-us/graph/api/intune-apps-androidstoreapp-create?view=graph-rest-1.0