New Reports supported in Office 365 Reporting Web Service Client library

Tags: Office 365, Report, Visual Studio, Open Source, GitHub

If you need to include monitoring of Office 365 into your own custom applications, you can perform REST calls to Office 365 Admin reporting OData service, or in case that your app is .NET, you can use Office 365 Reporting Web Service Client Library. This [library is published on NuGet][1], and it is Open Source, with [full source code published on GitHub][2]. Initial release of the library did not provide any API to access reports related to SharePoint Online. So, when the library was published as Open Source, I made some contributions to the repository: I created several report definition classes for SharePoint Online and some reports related to connected clients. Here is full list of new reports (which I contributed to the repo) which are added in versions 1.0.2.0 and 1.0.3.0 of the library: **Reports added in version 1.0.2.0** SPOActiveUserDaily SPOActiveUserWeekly SPOActiveUserMonthly SPOActiveUserYearly SPOSkyDriveProDeployedWeekly SPOSkyDriveProDeployedMonthly SPOSkyDriveProStorageWeekly SPOSkyDriveProStorageMonthly SPOTeamSiteDeployedWeekly SPOTeamSiteDeployedMonthly SPOTeamSiteStorageWeekly SPOTeamSiteStorageMonthly SPOTenantStorageMetricDaily SPOTenantStorageMetricWeekly SPOTenantStorageMetricMonthly **Reports added in version 1.0.3.0** ClientSoftwareBrowserDetail ClientSoftwareBrowserSummary ClientSoftwareOSDetail ClientSoftwareOSSummary ConnectionByClientTypeDaily ConnectionByClientTypeWeekly ConnectionByClientTypeMonthly ConnectionByClientTypeYearly ConnectionByClientTypeDetailDaily ConnectionByClientTypeDetailWeekly ConnectionByClientTypeDetailMonthly ConnectionByClientTypeDetailYearly When Client Library is used, process for data retrieval is as follows: 1. Reporting Context is created and configured - with User Name, Password, and optional time interval for the report as parameters 2. Logger and Report Visitor are initialized 3. Reporting Stream object is created - it takes Reporting Context, name of the report and stream name as parameters. 4. Method RetrieveData on Reporting Stream is called, with previously initialized Report Visitor as an argument. At this moment, data from the report is retrieved and processed, based on the ReportVisitor configuration. Full sample code can be found in [official announcement on Office Blogs][3], or [this blog post on Julien's blog][4]. Julien is a PM in Microsoft responsible for this client library. [1]: https://www.nuget.org/packages/Microsoft.Office365.ReportingWebServiceClient [2]: https://github.com/Microsoft/o365rwsclient [3]: http://blogs.office.com/2014/10/29/client-library-office-365-admin-reporting-web-service-now-available-2/ [4]: http://julienpierre.co/2014/10/10/o365dataextractor-part-1-build-an-app-to-consume-the-office-365-reporting-web-service-rws/

No Comments

Add a Comment