How to rename SharePoint 2013 group using browser and PowerShell?

InfoPath alternatives for form designing SharePoint

Introduction:
In this article we will discuss how we can rename a SharePoint 2013 group name using the browser and SharePoint PowerShell. This works for SharePoint 2913 and SharePoint 2016.

Requirement:
On a site, a site owner wants to rename the “Approver” group name to “HR Approver” as it makes more sense to him.

Read some SharePoint branding articles below:

To rename a SharePoint 2013/2010 user group follow below step:

1. Click on Site Settings gear >> Site permissions >> double click Approvers group.

2. Click on “Group Settings” from Settings Menu.

3. Replace Approvers with the HR Approvers name for your SharePoint permission group.

4. Click on OK to save your changes.



Pretty straightforward, isn’t it?

Rename SharePoint group using PowerShell:

Renaming SharePoint groups can be achieved using PowerShell too. Here is my 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.

Similar SharePoint 2013 Tutorials


About Sagar Pardeshi

I am Developer working on Microsoft Technologies for the past 6+years. I am very much passionate about programming and my core skills are SharePoint, ASP.NET & C#,Jquery,Javascript,REST. I am running this blog to share my experience & learning with the community I am an MCP, MCTS .NET & Sharepoint 2010, MCPD Sharepoint 2010, and MCSD HTML 5,Sharepoint 2013 Core Solutions. I am currently working on Sharepoint 2010, MOSS 2007, Sharepoint 2013,Sharepoint 2013 App Dev, C#, ASP.NET, and SQL Server 2008.

View all posts by Sagar Pardeshi →

Leave a Reply