NOTE: Perform this procedure only if the account selected for data collection is not a member of the Organization Management or the Records Management group.
On the computer where Microsoft Exchange 2019, 2016, 2013 or 2010 is installed, open the Exchange Management Shell under an account that belongs to the Organization Management group.
Use the following syntax to assign the Audit Log role to a user:
New-ManagementRoleAssignment -Name <assignment name> -User <UserName> -Role <role name>
New-ManagementRoleAssignment -Name "AuditLogsNetwrixRole" -User Corp\jsmith -Role "Audit Logs"
In this example, the user CORP\jsmith has been assigned the Audit Logs role.