Share via

SharePoint Online: Restoring deleted permission groups

Daemetius 31 Reputation points
Aug 24, 2021, 9:41 PM

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?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,898 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Allen Xu_MSFT 13,831 Reputation points
    Aug 25, 2021, 2:33 AM

    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.

    4 people found this answer helpful.

  2. Sarah Godfrey 6 Reputation points
    Apr 7, 2022, 12:33 AM

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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.