Can someone explain to me how to Get Mailbox folder permissions in recoverable items use PowerShell? Its possible or not

Sujith M 0 Reputation points
2024-04-29T13:24:19.3866667+00:00

Get-MailboxFolderPermission -Identity " testid@223.microsoft.com\Recoverable Items"

Outlook
Outlook
A family of Microsoft email and calendar products.
3,089 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,949 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,416 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,402 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,135 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Rich Matheisen 45,111 Reputation points
    2024-04-29T15:31:51.5666667+00:00

    It's been a long time since I've worked with Exchange, but it looks like the "Recoverable Items" folder is in the Non-IPM sub-tree of the mailbox. That folder contains sub-folders, too: https://learn.microsoft.com/en-us/exchange/policy-and-compliance/recoverable-items-folder/recoverable-items-folder?view=exchserver-2019

    To reach those folders you'd have to add the folder name to the -Identity value:

    Get-MailboxFolderPermission -Identity " testid@223.microsoft.com\RecoverableItems\Deletions"

    Also, there's no space in the folder name. :-)


  2. Sujith M 0 Reputation points
    2024-04-30T05:24:58.46+00:00

    Write-ErrorMessage : Ex43C0AC|Microsoft.Exchange.Configuration.Tasks.ManagementOb

    jectNotFoundException|The operation couldn't be performed because

    'testid@m3659887.onmicrosoft.com:\Recoverable Items\Deletions'

    couldn't be found.

    At C:\Users\ELCOT\AppData\Local\Temp\tmpEXO_mdc3kxac.nwo\tmpEXO_mdc3kxac.nwo.psm1

    :1191 char:13

    •         Write-ErrorMessage $ErrorObject
      
    •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      • CategoryInfo : NotSpecified: (:) [Get-MailboxFolderPermission], M
      anagementObjectNotFoundException
      • FullyQualifiedErrorId : [Server=CY5PR19MB6291,RequestId=75c72323-9468-d7b4
      -f19d-a4dd52ce66c3,TimeStamp=Tue, 30 Apr 2024 05:22:14 GMT],Write-ErrorMessa ge

    This following error accured to your statements

    0 comments No comments

  3. Mike Hu-MSFT 625 Reputation points Microsoft Vendor
    2024-05-06T09:35:19.89+00:00

    Hi,

    I did some tests but could not succeed in getting Recoverable Items permissions using the Get-MailboxFolderPermission command, according to my personal experience, Recoverable Items is an invisible folder different from other normal folders, therefore, it cannot get its permissions using Get-MailboxFolderPermission.Also, there doesn't seem to be any other command that does this.

    A screen shot of a computer screenDescription automatically generated

    Hope this helps.

     

     

    0 comments No comments

  4. Rich Matheisen 45,111 Reputation points
    2024-05-07T02:58:05.9933333+00:00

    Try using the Get-MailboxFolderStatistics cmdlet. Use the "-FolderScope NonIpmRoot". I'm guessing that you can use the Identity value for the folder in the Get-MailboxFolderPermissions cmdlet.

    If that doesn't work, you should ask a new question and use an appropriate Exchange tag. Don't add any Outlook or PowerShell tags. Let the Exchange and/or O365 SMEs get the answer (they should also be familiar with the Exchange PowerShell cmdlets to get that information).

    With an on-prem Exchange mailbox, using tools like MFCMAPI, or Redemption (a 3rd-party library) might work.For O365 mailboxes you may have to resort to using Microsoft Graph. The Exchange/O365 folks should be able to help you with that, too.

    0 comments No comments

  5. Sujith M 0 Reputation points
    2024-05-07T10:04:36.09+00:00

    Thank you ,Mike Hu-MSFT , Rich Matheisen any other way to get the mailbox folder permission in recoverable Items