Test the Application Access policy
Use the PowerShell command to list mailbox permissions.
Use the following PowerShell command to list mailbox permissions.
Test-ApplicationAccessPolicy -Identity "Enter the mailbox id to test" -AppId "Enter Token Provider AD App ID"
Condeco Microsoft 365 integration home