Sharepoint 2013: How To Rename A SharePoint Group
Introduction
In this blog, we will explore how to rename SharePoint group name using UI and SharePoint PowerShell.
Requirement
On a site, the site owner wants to rename the "Approver" group name to "HR Approver” as it makes more sense to them. To rename a SharePoint 2013/2010 user group:
Click Site Settings gear >> Site permissions >> double-click Approvers group.
Click "Group Settings" from Settings Menu.
Replace Approvers with HR Approvers name for your SharePoint permission group.
Click OK to save your changes.
Pretty straightforward
Rename SharePoint group using PowerShell
Renaming SharePoint groups can be achieved using PowerShell too. Here is a PowerShell script to rename a group in SharePoint 2013.
- Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
- #Variables
- $SiteURL = "Site url”
- $GroupName = "Approvers "
- $GroupNewName ="HR Approvers"
- #Get site and Group objects
- $Site = Get-SPSite $SiteURL
- $Group = $Site.RootWeb.SiteGroups[$GroupName]
- if($Group -ne $null)
- {
- #sharepoint rename permission group
- $Group.name = $GroupNewName
- #Update the group
- $Group.Update()
- Write-host "Group Name has been updated!"
- }
- #dispose site object
- $site.Dispose()
Note
The target audience cannot resolve SharePoint group name when renamed.
For example,
There seems to be an issue whenever you try to set certain audiences for Navigation Links (/_layouts/areanavigationsettings.aspx) — The selected SharePoint Groups are automatically removed from audiences when renamed.