How to create custom Microsoft Entra ID workbooks
Admins using Microsoft Entra ID for their identity management requirements are required to power through a vast amount of entries in Audit logs to find the activities that they want to track. This comes with some problems, such as filtering every time a specific set of data is needed, not being able to save them as separate reports, and viewing a vast set of logs that cannot be interpreted easily.
Microsoft Entra workbook is a tool that can help you visualize the logs generated in your environment as custom reports in various methods like graphs, pie charts, and more. This can help you get a clear overview of the activities in your tenant without having to worry about cluttering it up with granular details.
You can create your own Microsoft Entra workbooks or use one of the templates available to get started.
What do you need to create custom Microsoft Entra workbooks
To create your own Microsoft Entra Workbooks for your tenant, you will need to have the following requirements set before you start.
- A Microsoft Entra ID tenant with at least a P1 license
- A Log Analytics workspace
- An account with the Log Analytics Reader or Log Analytics Contributor role to access or update the Log Analytics workspaces used
- Knowledge on KQL scripting
How to create custom Microsoft Entra workbooks
You can create your own Microsoft Entra workbooks without resorting to the available templates by following the steps mentioned below.
- Log in to Microsoft Entra ID with an account that has the permissions to access Workbooks.
- Navigate to Identity > Monitoring & Health > Workbooks and click New.
- Click Add to get started with one of the six options displayed.
a. Plot the text for your workbooks
Texts help you give the context of the elements you refer to in the workbook. You can enter your text in markdown using elements like bold, italics, or even hyperlink your text and view the output using the Preview tab. You can also bring in parameters and links configured in texts.

b. Get user inputs with parameters
You can create fields for users to enter their preference for the data generated, like the time range or the specific unit for which the workbook should display data, by using Parameters. You can create one by clicking Add Parameters in the Add option, then Add Parameter, and filling out the options displayed.
- Parameter name : Provides a suitable name for the parameter.
- Display name: Provides a suitable display name for the parameter.
- Parameter type: Selects how the data is collected, such as text, drop-down, time range picker, etc.
- Parameter field type: Configures how the parameter field is displayed.
- Required: Decides if the parameter is to be mandatory filled.
- Allow multiple selections: Grants the option for users to select more than one item in types like drop-down.
- Explanation: Provides a suitable description of the parameter.
- Hide parameter in reading mode: Configures if the parameter can be made visible in read-only mode.
- Get data from: Configure the data source for the parameter using Queries or Criteria.

c. Add links to internal sections
Links can help your users navigate to related or frequently used sections of your workbook or pages of the Entra Admin Center and carry out some actions in a single click. You can create one by following the steps mentioned below.
- Navigate to Add links/tabs after clicking Add.
- Fill the Text before link, Link text, and Text after link fields with your preferred text.
- Select the action that you would like to be executed upon clicking the link from the Action dropdown and the values that need to be used by the action in the Value field. For example, you can select Scroll to a step in the Actions tab and select the field to be viewed in the Value field.
- Click Update links button to finish creating your links.
d. Write queries to process audit data
Queries are the most important components of a workbook. They help pull in the data that will be represented graphically in workbooks. Multiple sources like Azure Resource Graph, JSON, Merge, or Azure Health can be used to get the data for queries, but the suitable source to extract and use data from Audit logs is the Log Analytics workspaces. You will need to use Kusto Query Language (KQL) to write queries for workbooks. You can create and link a query using the steps below.
- Navigate to Add Query after clicking Add.
- Select the Data source, Resource type, and the Log Analytics workspace that you want to use the data from. You can also select how you want the data to be represented graphically from the Visualization tab.
- Type in your query in KQL in the field below and click Run Query.
- Click Done Editing to save your query configuration.
e. Track trends in your tenant with metric charts
Metrics can be used to view the change in values of a single variable for a period of time. This can be used to track data like the performance of your resources and the health of your services. You can add a Metric Chart by following the steps mentioned below.
- Navigate to Add Metric after clicking Add.
- Click Add Metric and fill the fields shown below.
- Select your Log Analytics workspace in the Namespace field.
- Choose the metric that you want to track by selecting it from the Metric dropdown.
- Decide which value you want to track using the Aggregation dropdown.
- Sum: The total of all values captured over the interval.
- Count: The number of records captured over the interval.
- Average: The average of the values captured over the interval.
- Min: The smallest value captured over the interval.
- Max: The largest value captured over the interval.
- Assign a Display name if you wish to.
- Click Save to finish configuring your metrics.
- Click Run Metrics to test your configuration.
- Click Done Editing to save your metric chart configuration.
f. Create sub sections using Groups
You can group the multiple elements that you have created into a single group that you can hide and show to declutter your workbook. You can also group components that are related to one another in the same section. You can create a new group by using the steps mentioned below:
- Navigate to Add Groups after clicking Add.
- Select your preferred Load Type:
- Lazy: A drop-down arrow that expands and collapses the group.
- Explicit: A customizable button that expands and collapses the group.
- Always: The details of the group are always displayed.
- Click Add in the field to fill the group with components like text, parameters, links, queries, and metric charts.
- Navigate to the Advanced Settings tab to type in your Group Title.
- Click Done Editing to finalize your configuration.
Once you are done adding your desired components, you can click Done Editing on the top ribbon and finish creating your Microsoft Entra workbook.
Get a clear overview of your Microsoft 365 environment with M365 Manager Plus
ManageEngine M365 Manager Plus is a comprehensive administration and security solution for Microsoft 365 used for reporting, managing, monitoring, auditing, and creating alerts for critical activities in your Microsoft 365 environments. You can gain a thorough understanding of your environment not just in Microsoft Entra ID, but also Exchange Online, SharePoint Online, OneDrive for Business, and other Microsoft 365 services, with detailed reports and intuitive visualizations, all from a single console.
There are also other benefits to using M365 Manager Plus to manage and monitor your Microsoft 365 environment.
- Filter your reports just once and save them as custom reports that you can access in just a few clicks.
- Export reports generated in M365 Manager Plus in not just CSV, but also in other presentable formats such as HTML, PDF, and XLSX.
- Delegate granular permissions to technicians without elevating their Microsoft 365 privileges and create custom roles with any combination of reporting, management, and auditing tasks.
- Easily manage users, groups, contacts, mailboxes, teams, and sites in bulk without PowerShell scripting.
- Keep tabs on even the most granular user activities in your Microsoft 365 environment.
- Configure alert profiles in M365 Manager Plus to notify you of specific activities that take place outside of business hours or occur at unusual frequencies.
- Monitor the health and performance of Microsoft 365 features and endpoints around the clock.
Effortlessly generate reports and customize dashboards for your Microsoft 365 environment.
Try now for freeStreamline your Microsoft 365 governance and administration with M365 Manager Plus
Get Your Free TrialRelated Resources
-
Entra ID administration
- How to create custom roles in Microsoft Entra ID
- How to setup SSO in Microsoft Entra ID
- How to configure Conditional Access in Microsoft Entra ID
- What is Microsoft Entra ID?
- What are Microsoft Entra ID administrative units
- How to configure external authentication methods in Microsoft Entra ID
- How to set up self-service group management in Entra ID
- How to takeover unmanaged directory as administrator
- How to change authentication type of subdomain
- What is self-service signup in Entra ID
- Delete a tenant in Microsoft Entra ID
- Manage custom domain names in Microsoft Entra ID
- Multi-tenant organization interaction
-
Entra ID auditing and reporting
-
Entra ID bulk user management
-
Entra ID dynamic groups
-
Entra ID group management
- How to enforce naming policy on Microsoft 365 groups in Entra ID
- How to clean up resources related to all user groups
- How to create basic groups and add members in Entra ID
- Group management cmdlets
- How to add group to another group in Entra ID
- How to delete a group in Entra ID
- How to remove a group from another group in Entra ID
- Check import status
- Edit group settings in Entra ID
- Migrate users with individual licenses to groups
- Restore deleted groups in Microsoft Entra ID
- Set expiration for Microsoft 365 groups in Entra ID
-
Entra ID group membership
- How to utilize Microsoft Entra groups in Entra ID
- How to add group members in Entra ID
- How to add group owners in Microsoft Entra ID
- How to add or remove group member automatically in Entra ID
- How to create group of guest users using native admin center
- How to manage groups and group memberships in Entra ID
- How to remove guests from all user groups in Entra ID
- How to utilize groups and administrator roles in Entra ID
- Add or remove a group from another group in Entra ID
- Bulk group members addition in Entra ID
- Bulk remove group members from Entra ID groups
- How to remove members/owners of a group in Entra ID
-
Entra ID group reports
-
Entra ID license management
- How to automate inactive license management for Entra ID users
- How to change license assignments for user in Entra ID
- How to assign licenses to groups in Entra ID
- How to leverage group-based licensing for optimizing license management in Entra ID
- License assignment troubleshooting
- Assign licenses in Microsoft Entra ID
- Azure AD license membership modification
- Remove licenses in Microsoft Entra ID
- View license plans and details in Microsoft Entra ID
-
Entra ID User management
- How to manage permissions using access reviews in Microsoft Entra ID
- How to restrict guest access permissions in Entra ID
- How to clean up unmanaged Microsoft Entra accounts
- How to assign custom security attributes to users in Entra ID
- How to clean up stale accounts using access reviews
- How to share accounts with Entra ID
- How to update custom security attributes to users in Entra ID
- Add guest users
- Add users to Azure AD
- Assign user roles with Entra ID
- Close user account in an unmanaged Microsoft Entra organization
- How to revoke user access in Microsoft Entra ID using PowerShell
- Microsoft 365 delete users
- Remove custom security attribute assignments from users
-
Entra ID user reports
- How to monitor risky sign-ins in Microsoft Entra ID
- License usage reports in Microsoft Entra ID
- How to get the last logon date of users in Microsoft Entra ID
- How to view Microsoft 365 login attempts using PowerShell and Microsoft Entra ID
- How to report the MFA status for users in Microsoft Entra ID
- How to monitor recently created users in Entra ID
- Track password changes by admins in Microsoft Entra ID
- How to monitor user role changes in Entra ID
- How to track self-service password resets in Microsoft Entra ID
- How to create custom sign-in reports in Entra ID
- How to find deleted users in Entra ID
- How to verify deleted users in Entra ID
- Filter users based on custom security attributes
- Download Microsoft 365 user list
-
Entra ID workbooks
- How to create custom Microsoft Entra ID workbooks
- What are Microsoft Entra ID workbooks
- How to handle privilege escalation in Microsoft Entra ID
- How to monitor risky sign-ins using Microsoft Entra ID workbooks
- How to monitor your Microsoft 365 MFA setup using Entra ID workbooks
- How to audit for app permission threats with Microsoft Entra workbooks
- Conditional Access Gap Analyzer workbook in Microsoft Entra ID
-
Exchange Online administration
- How to change deleted items retention for Exchange Online mailboxes
- How to change the branding of clutter notifications in Exchange Online
- How to configure message delivery restrictions for Exchange Online mailboxes
- How to configure moderated recipients in Exchange Online
- How to create user mailboxes in Exchange Online
- How to enable and disable MAPI for a mailbox in Exchange Online
- How to enable or disable Outlook on the web for a mailbox in Exchange Online
- How to manage mail contacts in Exchange Online
- How to manage permissions for recipients in Exchange Online
- How to manage resource mailbox in Exchange Online
- How to save sent items in a delegators mailbox in Exchange Online
- How to create and edit shared mailboxes in Exchange Online
- How to add or remove email address for a mailbox in Exchange Online
- How to configure email forwarding for a mailbox in Exchange Online
- How to convert a mailbox in Exchange Online
- How to delete or restore user mailboxes in Exchange Online
- How to manage user mailboxes in Exchange Online
-
Exchange Online groups
- Create and manage groups in Exchange admin center in Exchange Online
- How to create and manage distribution list groups in Exchange Online
- How to create and manage dynamic distribution list groups in Exchange Online
- How to create distribution group naming policy in Exchange Online
- How to manage guest access to Microsoft 365 groups in Exchange Online
- How to manage role groups in Exchange Online
- How to override the distribution group naming policy in Exchange Online
- How to view members of a distribution group in Exchange Online
-
Microsoft Teams
-
Public Folders
- Create public folder calendar in Exchange Online
- How to restore deleted public folder in Exchange Online
- How to setup public folders in new organization
- Migrate public folders to Microsoft 365 groups in Exchange Online
- Recover deleted public folder mailbox in Exchange Online
- How to mail-enable and mail-disable public folders in Exchange Online