Git Product home page Git Product logo

sharepointnewstelemetry's Introduction

SharePoint News Telemetry

Report on SharePoint Online News page views using the Office 365 Audit Log and Power BI. Not only will this report show News telemetry, but can be used for all/any pages in SharePoint Online.

SharePoint News Telemetry report

SharePoint News Telemetry report 2

Step 1: Export Audit Log data

Pre-requisites: enable Office 365 audit log search: https://docs.microsoft.com/en-us/microsoft-365/compliance/turn-audit-log-search-on-or-off. You have to be assigned the Audit Logs role in Exchange Online to turn audit log search on or off in your Office 365 organization. By default, this role is assigned to the Compliance Management and Organization Management role groups on the Permissions page in the Exchange admin center. Global admins in Office 365 are members of the Organization Management role group in Exchange Online.

  1. Select the Viewed page activity and apporpriate date range, then click the Search button Audit Log Search

  2. Once the search completed, Download all results via the Export results drop down in the upper right. Audit Log Export

  3. Move the file to C:\AuditLogExports

Note: you can search/export/download as many times as you want to refresh the report, but just ensure that the file names are unique and that the data time frames are unique (to avoid duplicate data). All files in the C:\AuditLogExports folder will be combined and used by the report upon refresh, as long as the format (columns) is the same.

Step 2: Get your Office 365 Tenant Id

This step connects to the reports API used by the Microsoft 365 Usage Analytics report to get user information to power the Department and Region visual in the lower left hand portion of the report. If you don't have the necessary prerequisites or don't need this information, you can skip this step and delete those two visual.

Pre-requisites: you must be either a global administrator, report reader, Exchange administrator, Skype for Business administrator, or SharePoint administrator.

  1. Follow these instructions to enable Microsoft 365 Usage Analytics and copy your Tenant Id for use in step 3: https://aka.ms/EnableM365UsageAnalytics

Step 3: Download, update, and run the Power BI report

Pre-requisites: download and install Power BI Desktop (free): https://powerbi.microsoft.com/en-us/desktop/

  1. Download the SharePoint News Telemetry report: https://github.com/cdbuzzell/SharePointNewsTelemetry/SharePoint%20News%20Telemetry.pbix

  2. Download the sample AuditLog export file (https://github.com/cdbuzzell/SharePointNewsTelemetry/AuditLog.csv) and move to C:\AuditLogExports

  3. Open the report in Power BI Desktop

  4. From the Home tab, click Edit Queries -> Edit Parameters Edit Parameters

  5. Replace the Tenant Id parameter with yours from Step 2 above and click ok Tenant Id Parameter

  6. Click the Refresh button on the Home tab to see data on the page

  7. Tweak the Page filters as necessary to properly scope the pages you want to see in the report. As provided, the report will show more than just News articles, but won't show most system pages (_layouts, Lists). This is an area of improvement that you are welcome to contribute to. Page Filters

  8. Save the Power BI file

sharepointnewstelemetry's People

Contributors

cdbuzzell avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

graz0

sharepointnewstelemetry's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.