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.

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

Answer accepted by question author
  1. Kai Yao 37,776 Reputation points Moderator
    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

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.