General Availability of Microsoft Graph reporting APIs for retrieving Office 365 product usage data
The usage reports in the Office 365 admin center enable admins to understand their company’s usage across the Office 365 services. However, many of you have existing reporting solutions such as a company reporting application or a web portal in place. To assure that you can monitor your IT services in one unified location, the usage reporting APIs complement the usage reports and allow organizations and independent software vendors to incorporate Office 365 usage data into their existing reporting solutions. Using these APIs, you can retrieve the data available in all of the usage reports, including organization level summaries per service, entity level (user, sites, accounts) usage information for reporting periods of the last 7/30/90/180 days, and daily activity aggregates.
Get started with the new APIs
The new APIs are available now, and any user with global admin, product admin rights (for Exchange, Skype for Business and SharePoint), or a reports reader role can retrieve data through these APIs.
You can leverage the Microsoft Graph documentation for the reporting API and submit feature requests by asking or voting on an idea on UserVoice. Please submit questions by posting them on Stack Overflow and tagging microsoftgraph.
With this announcement, we are announcing the deprecation of the following APIs within the Office 365 Reporting Web Service: ConnectionbyClientType, ConnectionbyClientTypeDetail, CsActiveUser, CsAVConferenceTime, CsP2PAVTime, CsConference, CsP2PSession, GroupActivity, MailboxActivity, GroupActivity, MailboxUsage, MailboxUsageDetail, StaleMailbox and StaleMailboxDetail.
We will remove these APIs, as well as any related PowerShell cmdlets, on January 29, 2018.
If you are currently using APIs or any of the related PowerShell cmdlets from the Office 365 Reporting Web Service, please start planning the migration of any subsystems within your organization.
Below is a summary of the APIs and cmdlets that will be deprecated.
Office 365 Reporting web service reference page |
Office 365 reporting-related Windows PowerShell cmdlets |
Description |
MS Graph Replacement |
The number of active, logged-in Lync Online users during the reporting period |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
|
||
The amount of time logged-in organization users participated in Lync Online conferences during the reporting period |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
|
||
|
|
View statistics about the client devices that connected to Skype for Business Online in your cloud-based organization. |
These methods are being deprecated as of January 29, 2018. They are being replaced by the new MS Graph Reporting API available at
|
View statistics about the number of peer-to-peer sessions and conferences by users and devices that connected to Skype for Business Online in your cloud-based organization. |
|||
The count of Lync Online conferences and peer-to-peer sessions during the reporting period. |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at Â
|
||
|
View number and type of activities that a user participated in while connected to Skype for Business Online in your cloud-based organization. |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
|
|
|
View Skype for Business Online users who have been blocked due to fraudulent call activities. |
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
|
Show the number of minutes that Skype for Business Online users spent in dial-in or dial-out conferences. |
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
|
View public switched telephone network (PSTN) usage details for Skype for Business Online users. |
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
The number and types of email client-access methods used by the organization’s users during the reporting period. For example, Outlook Web Access, Exchange Web services, and so on. |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/email_app_usage_reports |
||
|
|
Office 365 users created and deleted, summarized over the indicated time periods. Active Directory Domain Services (AD DS) replication can sometimes delay this information up to a day. |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/mailbox_usage_reports
|
|
Get-ExternalActivityByDomainReport |
|
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
Get-ExternalActivityByUserReport |
|
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
Get-ExternalActivityReport |
|
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
Get-ExternalActivitySummaryReport
|
|
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
Get-LicenseVsUsageSummaryReport
|
To retrieve a report that identifies the number of active users for installed software licenses (workloads). |
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
Summary and detailed statistics about organization user mailboxes. |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/mailbox_usage_reports |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
This method will continue to work as expected and is not impacted by this deprecation |
||
Get a summary report of client operating system use. |
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
||
|
Get a detailed report of client operating system use. |
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
|
Get a summary report of client browser use. |
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
|
Get a detailed report of client browser use. |
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
|
This method will continue to work as expected and is not impacted by this deprecation. |
||
|
Get-PartnerClientExpiringSubscriptionReport |
|
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
Get-PartnerCustomerUserReport |
|
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
Get-ScorecardClientDeviceReport |
|
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
Get-ScorecardClientOSReport |
|
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
Get-ScorecardClientOutlookReport
|
|
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
Get-ScorecardMetricsReport |
|
This method is being deprecated as of January 29, 2018. There is no MS Graph replacement. |
|
This method will continue to work as expected and is not impacted by this deprecation |
||
|
View statistics about Microsoft SharePoint Online users in your cloud-based organization. |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
|
|
|
Get-SPOOneDriveForBusinessFileActivityReport |
|
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
|
|
Get-SPOOneDriveForBusinessUserStatisticsReport |
|
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
|
|
View the number of My Site sites in your cloud-based organization. |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
|
|
|
View statistics about the space taken up (in MB) by My Sites in your cloud-based organization. |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
|
|
|
View the number of My Site sites in your cloud-based organization.
|
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
|
|
|
View statistics about the space taken up (in MB) by team sites in your cloud-based organization. |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
|
|
|
View statistics about the space taken up (in MB) by all sites in for your cloud-based organization. |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
|
|
The details and summary counts of mailboxes that have not been accessed within the indicated time period. |
This method is being deprecated as of January 29, 2018. It is replaced by the new MS Graph Reporting API available at
https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/email_activity_reports |
||