Did you follow all the steps here?
https://learn.microsoft.com/en-us/powershell/exchange/app-only-auth-powershell-v2?view=exchange-ps
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
While fetching recipient permission for a user using app authentication, Get-RecipientPermission shows unrecognized and Get-EXORecipientPermission executes with delay of 64 seconds. Without using app authentication Get-EXORecipientPermission returns results within milliseconds.
We tried using ExchangeOnline module 3.0.0 and 3.0.1 to execute these commands.
Issue seems to be with app authentication that we need to get resolved.
Is there any permission or any setting given to Azure AD or registered application which can cause this issue?
Commands used to fetch recipient permission :
(shows unrecognized)
Get-RecipientPermission -Identity <mailid> -ResultSize Unlimited | Select-Object -Property Trustee, AccessRights, AccessControlType, IsInherited
(executes with 63 seconds delay)
Get-EXORecipientPermission -Identity <mailid> -ResultSize Unlimited | Select-Object -Property Trustee, AccessRights, AccessControlType, IsInherited
Did you follow all the steps here?
https://learn.microsoft.com/en-us/powershell/exchange/app-only-auth-powershell-v2?view=exchange-ps
I am facing the same problem.
Oh, MS, what did you do ...