Skip to main content
edited body
Source Link
fallout
  • 1k
  • 1
  • 14
  • 41

I want to rename SPPrincipals that are ADGroups.

I've tried with

$SPFarm = Get-SPFarm   
$SPFarm#$SPFarm.MigrateGroup("loginName", "newLoginName")
#$SPFarm$SPFarm.MigrateUserAccount("loginName", "newLoginName", $false)

but no success. ("The user does not exist or is not unique.")

I know that is a ReadOnly field, however there is any way to do it via PS?

I want to rename SPPrincipals that are ADGroups.

I've tried with

$SPFarm = Get-SPFarm   
$SPFarm.MigrateGroup("loginName", "newLoginName")
#$SPFarm.MigrateUserAccount("loginName", "newLoginName", $false)

but no success. ("The user does not exist or is not unique.")

I know that is a ReadOnly field, however there is any way to do it via PS?

I want to rename SPPrincipals that are ADGroups.

I've tried with

$SPFarm = Get-SPFarm   
#$SPFarm.MigrateGroup("loginName", "newLoginName")
$SPFarm.MigrateUserAccount("loginName", "newLoginName", $false)

but no success. ("The user does not exist or is not unique.")

I know that is a ReadOnly field, however there is any way to do it via PS?

added 116 characters in body
Source Link
fallout
  • 1k
  • 1
  • 14
  • 41

I want to rename SPPrincipals that are ADGroups.

I've tried with

$SPFarm = Get-SPFarm   
$SPFarm.MigrateGroup("loginName", "newLoginName")
#$SPFarm.MigrateUserAccount("loginName", "newLoginName", $false)

but no success. ("The user does not exist or is not unique.")

I know that is a ReadOnly field, however there is any way to do it via PS?

I want to rename SPPrincipals that are ADGroups.

I've tried with

$SPFarm = Get-SPFarm   
$SPFarm.MigrateGroup("loginName", "newLoginName")

but no success.

I know that is a ReadOnly field, however there is any way to do it via PS?

I want to rename SPPrincipals that are ADGroups.

I've tried with

$SPFarm = Get-SPFarm   
$SPFarm.MigrateGroup("loginName", "newLoginName")
#$SPFarm.MigrateUserAccount("loginName", "newLoginName", $false)

but no success. ("The user does not exist or is not unique.")

I know that is a ReadOnly field, however there is any way to do it via PS?

Source Link
fallout
  • 1k
  • 1
  • 14
  • 41

Is possible to rename a SPUser(IsDomainGroup) LoginName?

I want to rename SPPrincipals that are ADGroups.

I've tried with

$SPFarm = Get-SPFarm   
$SPFarm.MigrateGroup("loginName", "newLoginName")

but no success.

I know that is a ReadOnly field, however there is any way to do it via PS?