Forum Discussion

JeremyTBradshaw's avatar
JeremyTBradshaw
Iron Contributor
Jun 10, 2020
Solved

Global Reader and Get-RecipientPermission (and Get-EXORecipientPermission)

I found something interesting today, two things:   Global Reader seems to not have access to the Get-RecipientPermission cmdlet. Get-EXORecipientPermission doesn't think about this and will just ...
  • JeremyTBradshaw's avatar
    JeremyTBradshaw
    Jun 11, 2020

    VasilMichev Thanks again.  I think it must be something in your tenant as you alluded, as I've found this article which shows the default nested management roles inside View-Only Organization Management which Global Reader is a member of:

    https://docs.microsoft.com/en-us/exchange/view-only-organization-management-exchange-2013-help#management-roles-assigned-to-this-role-group-1 

     

    I have though, figured out exactly where the issue is, based on my finding above, and comparing to a vanilla Exchange 2010 and 2016 on-premises environment.  Get-ADPermission is a role entry in "View-Only Configuration", which is nested in View-Only Org. Management.  In EXO, View-Only Configuration does not contain Get-RecipientPermission (nor Get-ADPermission, obviously but just to be thorough).

     

    I realize I'm spending way too much time on this low low priority issue:).  But to summarize in closing, Global Reader doesn't have access to Get-RecipientPermission, because Get-RecipientPermission has not been added to the EXO role "View-Only Configuration".  The EXO v2 PS module still exposes the new Cmdlets, even if the corresponding legacy Cmdlet isn't available to the current user.  I've reported the latter, will just let this thread inform them of the former, in case they want to fix it (not gonna bother with a UserVoice or support ticket though).

Resources