Moving User Profile Properties using PowerShell

We want to move those properties to detail section in our SharePoint.
Using the OOTB feature we are moving UP by clicking the UP arrow, but some extend we are unable to move UP.
There is way we can do using power shell.
Run the below script step by step.
Step 1:

$GetMySite = Get-SPSite <MySiteHostURL> #give here mysite url
$Getcontext = Get-SPServiceContext $GetMySite
$UserprofileManager = New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($Getcontext)

Step 2:
Here we can get all the properties with ID’s.
We can able to see our custom property with ID 5402.
When we are moving UP using OOTB UP arrow it was unable to go forward because of duplicate id will come when we are moving manually.

$ | ft name,displayorder

Now we are  moving this to Detail section and also want to place after the SPS-Interests having the ID 5206.


Now we will move the “Custom property test” after the Interests.
We have to use only unique id so now using “5207″


finally reset the IIS once.

Now we can able to see the “Custom Property Test” in Details section without any issues.


Author: "Sharepoint Thoughts"

I’m a Microsoft Certified IT Professional with 5+ Years Experience on SharePoint Technologies. Worked extensively on “SharePoint 2007”, “SharePoint 2010”, “SharePoint 2013” & “SharePoint 2016” on Implementation, Configuration & Troubleshooting several Projects.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s