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

Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
{count} votes

2 answers

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

  2. Roman King 26 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.