SharePoint Online: Restoring deleted permission groups

Daemetius 36 Reputation points
2021-08-24T21:41:37.953+00:00

Hi,

Someone in the group accidentally deleted various SharePoint Online site permission groups (not the permissions themselves) with its users and I was wondering if it was possible to restore them using PowerShell? Or is this something out of scope?

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments

2 answers

Sort by: Most helpful
  1. Allen Xu_MSFT 13,896 Reputation points
    2021-08-25T02:33:27.297+00:00

    Hi @Daemetius ,

    Did the user deleted the groups by clicking Remove User Permissions in the ribbon?
    126222-image.png

    To restore the SharePoint groups, you first need to make sure the default groups exist. Go to <site URL>/_layouts/15/groups.aspx to make sure the deleted groups are present. When the groups are present, you have to create the associations. Go to <site URL>/_layouts/15/permsetup.aspx and select the corresponding groups in the form.
    126231-image.png

    Finally, press OK to create the associations. Now the deleted SharePoint groups of the site are restored.

    ----------

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    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.

    Was this answer helpful?

    4 people found this answer helpful.

  2. Sarah Godfrey 6 Reputation points
    2022-04-07T00:33:33.913+00:00

    Restoring via these steps worked nicely, however users access was not actually restored. Owners and Members still could not gain access (even after manually removing and re-adding acccess).

    Was 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.