Subscribe via RSS Feed Connect with me on LinkedIn

How to change the Content Type Hub URL

[ 7 ] November 8, 2010 |

If you are like me and have trouble typing then one thing that you might have done when setting up your Content Type Hub ( like this ) is to either make a spelling mistake in the Hub Url or simply copy the URL and get the Home.aspx at the end of it, like below:


Of course this will now not work but there is no actual way to change this through the Central Administration UI, as has been mentioned in a couple of blog posts

Then when you try to publish out the Content Types you will get an error as you don’t have a valid proxy configured.

However you can actually change the Hub URL through powershell by using:

Set-SPMetadataServiceApplication -Identity "<ServiceApplication>" -HubURI "<HubURI>"

When you try to do this you get this rather scary message:


This is SharePoint telling you that this is a major thing so be careful! Essentially all your content types that you have published out will be removed if they can, and you have to replish all of your content types out again which can cause some issue.

But we can see now that the URL has changed and after everything settles down we can publish out again:


One more thing make sure that you update the Service Connection as well to consume the content types:


But it is an option, otherwise the only thing that you can do is create another Managed Metadata Service Application

Big shout out to the one and only Todd Klindt that put me onto this at SharePoint Saturday Vancouver!

Tags: ,

Category: General, How To

About Michal Pisarek: Michal Pisarek is the founder of Dynamic Owl Consulting and a Microsoft SharePoint MVP. View author profile.

Comments (7)

Trackback URL | Comments RSS Feed

  1. […] This post was mentioned on Twitter by Chris Poteet, Michal Pisarek. Michal Pisarek said: RT @michalpisarek How to change the Content Type Hub URL #SharePoint #sp2010 […]

  2. lindie says:


    I m suffering from the same problems, tried your solution, but Powershell gives me a error msg “A positional parameter cant be found that accepts argument ‘hubUri’. at line:1 char:33.
    Can anyone help?



  3. Paak says:

    exactly same error for me!


  4. Baisl says:

    Thanks Michal for the post!

    Lindie, Paak. That error message means you didn’t put the hyphen before the “HubURI” argument. (In the post, the hyphen ‘looks’ like its on another line, but really it is adjacent to the argument.)

    Make sure that when you use that argument, you do so as: -HubURI “http://yoursharepoint/path/to/CTH”


  5. Jill says:

    Thanks Michal. Solved my problem nicely!

  6. Shreyas says:

    Michal, Thanks a lot for sharing such a great information which helped me to fix my bug.

Leave a Reply

If you want a picture to show with your comment, go get a Gravatar.