...
Navigate to App Registrations> New registration.
...
In the Register, an application page, enter a Name of your choice for app registration.
Please select Account types as Single tenant (shown below). As supported by Microsoft, we need to select Single Tenant.
...
Navigate to API Permissions -> click on + to Add a permission and click on Grant admin consent.
Add API Permissions from both Applications and Delegated permissions.
...
As depicted in the below image, Grant admin consent permission for MailSend, MailSendShared, and UserRead.
...
Here a set of Events is to be set to get notified for. Those events are categorized as Agent, Company, Asset, Ports, Remediation, Vulnerability, Azureerror, AD Audit, Azure AD Audit, and Unquoted Service Path. Every category will have certain events which that can be set.
Enter the Event Name and select the category and an Event/s as required.
...