@Sara Caballero Thanks for posting in Q&A. For the API /beta/deviceAppManagement/mobileApps/{id}/deviceStatuses/, the properties for the installation state of a mobile app for a device are deprecated in May, 2023. So you get error when query.
Now we use the following query to get the app installation status report.
Action POST
https://graph.microsoft.com/beta/deviceManagement/reports/getDeviceInstallStatusReport
Request Body:
{
"select": [
"DeviceName",
"UserPrincipalName",
"Platform",
"AppVersion",
"InstallState",
"InstallStateDetail",
"AssignmentFilterIdsExist",
"LastModifiedDateTime",
"DeviceId",
"ErrorCode",
"UserName",
"UserId",
"ApplicationId",
"AssignmentFilterIdsList",
"AppInstallState",
"AppInstallStateDetails",
"HexErrorCode"
],
"skip": 0,
"top": 50,
"filter": "(ApplicationId eq 'c24ef1b7-7f84-4976-869c-1cdae0b32983')",
"orderBy": []
}
Hope the above information can help.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.