Git Product home page Git Product logo

o365healthmonitor's Introduction

O365 Health Monitor

This sample Azure Function App, monitores for O365 service degradation and notifies to a Teams Channel.

Application queries O365 service management API. https://docs.microsoft.com/en-us/office/office-365-management-api/office-365-service-communications-api-reference writes the json to Azure blob. PowerBI Report can be used to visualise the information.

Setup Instructions.

  1. Create a new azure app registration, and create client secrets.
    1. Copy Domain Name, Client Id, Client Secret from the created app registration.
  2. Grant ServiceHealth.Read permission to the newly created applicaiton. Api Permission
  3. Create a new Storage account (general purpose v1) and copy the connection string (from under Access Keys).
  4. Create a Teams webhook to write notifications to Teams https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook
  5. Download the source code, build and publish the project to create a new Azure function app/or use existing function app.
  6. On the Newly created function app, provide/create the following application settings
    1. ClientId
    2. ClientSecret
    3. Domain
    4. TeamsWebhookURL
    5. StorageConnectionString
    6. Env

image

use Dev as Env application settings value only for execution from Visual Studio.
  1. Open O365HealthMonitor.pbix and modify the blob storage location strings. image

-- Powerbi Reports --

O365Health

-- Teams Notification --

TeamsNotification

o365healthmonitor's People

Contributors

k-jithesh avatar

Watchers

James Cloos avatar

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.