reportRoot: getOffice365ActivationCounts
Get the count of Office 365 activations on desktops and devices.
Note: For details about different report views and names, see Office 365 Reports - Microsoft Office activations.
Permissions
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) | Reports.Read.All |
Delegated (personal Microsoft account) | Not supported. |
Application | Reports.Read.All |
HTTP request
GET /reports/getOffice365ActivationCounts
Request headers
Name | Description |
---|---|
Authorization | Bearer {token}. Required. |
If-None-Match | If this request header is included and the eTag provided matches the current tag on the file, a 304 Not Modified response code is returned. Optional. |
Response
If successful, this method returns a 302 Found
response that redirects to a preauthenticated download URL for the report. That URL can be found in the Location
header in the response.
Preauthenticated download URLs are only valid for a short period of time (a few minutes) and do not require an Authorization
header.
The CSV file has the following headers for columns.
- Report Refresh Date
- Product Type
- Windows
- Mac
- Android
- iOS
- Windows 10 Mobile
Example
Request
The following is an example of the request.
GET https://graph.microsoft.com/v1.0/reports/getOffice365ActivationCounts
Response
The following is an example of the response.
HTTP/1.1 302 Found
Content-Type: text/plain
Location: https://reports.office.com/data/download/JDFKdf2_eJXKS034dbc7e0t__XDe
Follow the 302 redirection and the CSV file that downloads will have the following schema.
HTTP/1.1 200 OK
Content-Type: application/octet-stream
Report Refresh Date,Product Type,Windows,Mac,Android,iOS,Windows 10 Mobile
Feedback
Loading feedback...