The process of generating insights and analytics on device compliance, app usage, and security configurations within Intune
Send a POST request to the beta endpoint at https://microsoft.com. In the request body, you need to set the reportName property to "WindowsQualityUpdateDistributionReport" and specify the format as "csv".
After submitting the request, the API should respond with a 202 Accepted status and provide a unique export job ID. Poll the status of this job by sending periodic GET requests to https://microsoft.com('[Your_Export_Job_ID]'). Keep checking the status until the status field in the JSON response changes from inProgress to completed.
Once the export job is finished, the completion response should include a temporary, secure download URL in the url field. Download the compressed file from this link and extract the CSV spreadsheet. This file should contain the update status for all Intune-managed Windows devices across your global environment.
AFAIK, Microsoft Graph reporting endpoints do not natively support server-side country filtering for this report, you'd need to isolate the Canadian data locally. Open the extracted CSV file in a data processing tool like Excel, Power BI, or Python. Locate the column tracking device location (deviceCountryOrRegion ) and filter the rows to display only records that match "Canada".
More at https://petervanderwoude.nl/post/easily-exporting-intune-reports-using-microsoft-graph/
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin