PowerShell scripts for Microsoft 365

Your download is in progress and it will be complete in just a few seconds! If you face any issues, download manually here

Thank you for registering with ManageEngine.

We will send the download link to the registered email ID shortly.

Manage and Secure Microsoft 365 with M365 Manager Plus

  • By clicking 'Download 30-day free trial' you agree to processing of personal data according to the Privacy Policy.

PowerShell scripts for Security and Compliance Logs

The unified audit log in the Microsoft 365 Security and Compliance Center contains events from Exchange Online, Azure Active Directory, OneDrive for Business, Micosoft Teams, Power BI, and other Microsoft 365 services. To search the contents of the administrator audit log, run the Search-AdminAuditLog cmdlet.

Admin activities report

[[-Cmdlets <MultiValuedProperty>]
[-DomainController <Fqdn>]
[-EndDate <ExDateTime>]
[-IsSuccess <$true | $false>]
[-ObjectIds <MultiValuedProperty>]
[-Parameters <MultiValuedProperty>]
[-ResultSize <Int32>]
[-StartDate <ExDateTime>]
[-StartIndex <Int32>]
[-UserIds <MultiValuedProperty>]
[-ExternalAccess <$true | $false]

If you run the Search-AdminAuditLog cmdlet without any parameters, up to 1,000 log entries will be returned by default.

Search-AdminAuditLog -Cmdlets New-RoleGroup, New-ManagementRoleAssignment

This script finds all the admin audit log entries that contain either the New-RoleGroup or the New-ManagementRoleAssignment cmdlet.

Search-AdminAuditLog -Cmdlets Set-Mailbox -Parameters UseDatabaseQuotaDefaults, ProhibitSendReceiveQuota, ProhibitSendQuota -StartDate 01/24/2019 -EndDate 02/12/2019 -IsSuccess $true

This script finds all the admin audit log entries that match the following criteria:

  • Cmdlets: Set-Mailbox
  • Parameters: UseDatabaseQuotaDefaults, ProhibitSendReceiveQuota, ProhibitSendQuota
  • StartDate: 01/24/2019
  • EndDate: 02/12/2019

Auditing with M365 Manager Plus

One-click access to audit reports: Instead of poring over the entire log or fiddling with the filter options in the Microsoft 365 Security and Compliance Center, you can create audit reports and view all the audit data you need in a single click.

Advanced filtering: In the Microsoft 365 Security and Compliance Center, you can only filter logs based on certain attribute values. With M365 Manager Plus, you can filter your logs based on any attribute, and perform multi-valued searches as needed.

Custom views: While Microsoft 365 doesn't support custom views, you can create your own custom views with M365 Manager Plus to see filtered data, summarized data, or filtered, summarized data.

Graphical view: M365 Manager Plus' audit reports present audit data in graph format, so you can quickly and easily see what's happening in your Microsoft 365 environment.

Export data: Using native Microsoft 365 tools, you can only export data to a CSV file. But in M365 Manager Plus, you can export audit data in PDF, XLSX, HTML, or CSV formats.

Why businesses choose M365 Manager Plus?

What our customers say

  • We can now effectively reconcile which licenses we are using in the organization and assign the cost to the business unit. We were also able to identify a number of license changes that could be put in place that reduced our total Microsoft 365 spending.

    Timothy Ransom
    Group IT/IS manager at The Eclipse Group, United Arab Emirates

  • M365 Manager Plus is valuable to our future business and, most importantly, it allows me to keep improving the level of service we provide.

    IT infrastructure manager
    Sunstar Suisse S.A.

  • Our firm purchased ManageEngine M365 Manager Plus to help us protect our business from email-borne cyberthreats. We are absolutely satisfied with the features and ease of use. It has surpassed our expectations.

    Insurance agent
    Security and risk management Gartner review

A holistic Microsoft 365 administration solution

One-stop solution for all your
Microsoft 365 administration needs!

Download now