Intune report DiscoveredAppsRawData -, returns only 'windows' OS data

Anil Kumar 6 Reputation points
2023-01-09T02:46:16.03+00:00

Hello

I was trying to use Intune Graph api call for DiscoveredAppsRawData report-, returns only 'windows' OS data but not Mac data.
How to include MAC Os data?

From UI download Apps > Monitor > Discoverd apps > Export , report includes all OS data.

Thank you

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,214 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Lu Dai-MSFT 28,411 Reputation points
    2023-01-09T06:43:31.68+00:00

    @Anil Kumar Thanks for posting in our Q&A.

    For this issue, I have done the test in my lab. I don't have MacOS devices, but I have iOS device. And I can see windows and iOS device in this report.

    1.Post the following request URL and we will get the id.

    https://graph.microsoft.com/beta/deviceManagement/reports/exportJobs  
    {  
        "reportName": "DetectedAppsRawData",  
        "filter": "",  
        "select": [],  
        "format": "csv",  
        "snapshotId": ""  
    }  
    

    277229-image.png

    2.Add the id in the request and get the request URL.

    https://graph.microsoft.com/beta/deviceManagement/reports/exportJobs('DetectedAppsRawData_ec444a97-5a18-4a5f-bd8e-7432014415a6')  
    

    277300-image.png

    3.The response will show the status. Wait a minute and run again, this status will show "complete". Then we can get the report from the url.
    277236-image.png

    When I checked this report, I can see windows and iOS devices.
    277237-image.png

    Hope it will give you some ideas.


    If the answer is the right solution, 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.


  2. Anil Kumar 6 Reputation points
    2023-01-26T16:35:01.74+00:00

    today error message -

    [https://graph.microsoft.com/beta/deviceManagement/reports/exportJobs

    {"reportName":"DiscoveredAppsRawData","filter":"","select":["ApplicationName","ApplicationVersion","DeviceName","Platform","EmailAddress"],"format":"csv","snapshotId":""}

    PostExportJobAsync not supported for reportType DiscoveredAppsRawData - Operation ID (for customer support)


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.