Script to remove group owner permission

Laxson Paradza 20 Reputation points
2023-11-12T19:34:54.56+00:00

Hello everyone, I am looking for a powershell script to remove group owner permission from a public folder in 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,386 questions
0 comments No comments
{count} votes

Accepted answer
  1. Kael Yao-MSFT 37,676 Reputation points Microsoft Vendor
    2023-11-13T02:13:43.67+00:00

    Hi @Laxson Paradza

    Can you clarify what do you mean by "group owner" here?

    If you would like to remove all owner permission from a public folder, you can connect to Exchange Online Powershell and run the following cmdlet:

    Get-PublicFolderClientPermission -identity "\PublicFolder" | where{$_.AccessRights -eq "Owner"} | Remove-PublicFolderClientPermission
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful