Share via

Powershell script to remove group owners as group members Azure AD

André Oliveira 1 Reputation point
2021-03-24T09:12:07.193+00:00

Hello everyone, I need a Powershell script to get all the group owners as members on Azure AD and remove them (Office 365 groups). Could you please guys Help? Thanks

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

1 answer

Sort by: Most helpful
  1. Vasil Michev 127K Reputation points MVP Volunteer Moderator
    2021-03-24T12:19:44.697+00:00

    That's not a supported scenario, an Owner must be a member of the corresponding Office 365 Group.

    Was this answer helpful?

    1 person found this answer 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.