Company
Date Published
Author
Harry Kimpel, Principal Developer Relations Engineer
Word count
1909
Language
English
Hacker News points
None

Summary

M365 is a widely adopted business tool suite that offers various applications and services, including email, document collaboration, video conferencing, and more, all hosted on the cloud. Monitoring M365 applications is critical for organizations to maintain a secure, efficient, and compliant digital environment. To monitor these applications, Microsoft provides native tools and APIs, such as the Health Dashboard, auditing, reporting, and the Microsoft Graph API. However, leveraging these tools requires knowledge of how to collect health metrics and analyze performance, security, and user activity. New Relic can be used to gather this information on a continuous basis by creating synthetic scripted API monitors or browser monitors. These scripts leverage secure credentials stored in New Relic to access M365 services and retrieve health data. The gathered information can then be visualized using custom dashboards, providing an up-to-date overview of service health information. User login monitoring can also be achieved through New Relic's synthetic scripted browser monitor, which continuously executes a script that accesses M365 websites, types username and password, logs in to the portal, and navigates to the home page.