The EXO user I'm using has global and exchange admin roles
[12/21/2022 12:18:11 AM] - BEGIN Get-MailOnMicrosoftComDomain
[12/21/2022 12:18:11 AM] - ****
Write-ErrorMessage : Ex5E8EA4|Microsoft.Exchange.Configuration.Authorization.CmdletAccessDeniedException|Some of the
parameters specified with the "Get-AcceptedDomain" cmdlet aren't present in the role definition for the current user.
Check the management roles assigned to you, and try again.
At C:\Users\xhillm.HYBRID2010TEST\AppData\Local\Temp\tmpEXO_pnl0nxud.kpv\tmpEXO_pnl0nxud.kpv.psm1:1099 char:13
The EXO user I'm using has global and exchange admin roles
[12/21/2022 12:18:11 AM] - BEGIN Get-MailOnMicrosoftComDomain [12/21/2022 12:18:11 AM] - **** Write-ErrorMessage : Ex5E8EA4|Microsoft.Exchange.Configuration.Authorization.CmdletAccessDeniedException|Some of the parameters specified with the "Get-AcceptedDomain" cmdlet aren't present in the role definition for the current user. Check the management roles assigned to you, and try again. At C:\Users\xhillm.HYBRID2010TEST\AppData\Local\Temp\tmpEXO_pnl0nxud.kpv\tmpEXO_pnl0nxud.kpv.psm1:1099 char:13