Get-RecipientPermission is unrecognized and Get-EXORecipientPermission executes with substantial delay when connected to exchange online using app authentication.

Ravina Sawant 0 Reputation points
2023-08-14T14:44:51.1966667+00:00

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

Microsoft Exchange Online
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,611 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Andy David - MVP 149.7K Reputation points MVP
    2023-08-14T15:04:59.3366667+00:00
    0 comments No comments

  2. Roman King 21 Reputation points
    2024-03-21T15:17:17.2733333+00:00

    I am facing the same problem.
    Oh, MS, what did you do ...


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.