Sdílet prostřednictvím


Visual Studio Online (VSO): Owning Multiple VSO Accounts

NOTE: This is not official guidance, nor may it be even officially a supported “feature” in the near future (my guess is that it’s not a directly intended capability. It’s simply a short-term workaround that assisted a few of my customers that I thought I’d share.

Update: You can now create multiple VSO instances under the same account directly from the website (see comments). Enjoy!

Visual Studio Online by default only allows a Microsoft account to create a single VSO account.  When you create a VSO account, the system records who the owner (creator) is, and the next time that user comes back, they cannot create additional VSO accounts.

I have customers who currently maintain several VSO accounts (for various reasons), and have done so by creating multiple Microsoft accounts, one for each VSO account.

With the May 7th date of ending the “Early Adopter” program for VSO, I have customers in this situation asking what to do about this moving forward.

There’s a slightly indirect, but perfectly doable way around this: a way to let a single Microsoft account “own” multiple VSO accounts.  You need two (2) Microsoft accounts (but only for VSO account creation purposes), but only two.

For this example, I’m going to create 2 sample Microsoft accounts, one primary and one secondary (both which I’ll delete after this post – I hate stale/dummy accounts!) and show you how to create three (3) VSO accounts owned by the primary Microsoft account.

 

First, I create the primary Microsoft account: SteveLangePrimary@hotmail.com

Here’s this account’s profile page:

image

Note that this account neither owns any VSO accounts nor is a member of any VSO accounts.

Using this Microsoft account, I create a new VSO account: https://stevelangeprimary.visualstudio.com/.

Next, I sign out of Microsoft and create my secondary Microsoft account: SteveLangeSecondary@hotmail.com.

And the resulting profile page:

image

Like the first account, this account neither owns any VSO accounts nor is a member of any VSO accounts.

Using this secondary account, I create a second VSO account: https://stevelangesecondary.visualstudio.com

Next, while still logged in as the secondary account, I go to the Users page.

image

Once there, I click “Add” and add the primary account (the first account I created) to this VSO account as a user, assigning a “Basic” license.

image

Now that the primary account is recognized as a user, I set that account to be the owner of this VSO account.  (The same below steps are described here.)

I click on the "gear” icon at the top-right, which takes me to the Admin area.

image

Next, I click on the Settings tab, and for Account Owner, select my primary account from the drop-down list, and click the Save button.

image

NOTEWARNING: If you follow my steps to the letter, you may have the unintended consequence of removing the secondary Microsoft account’s access from all the VSO accounts. If this is truly a “dummy” account, then it’s probably no big deal. But if you’re using a Microsoft account you with to keep using in VSO, you’ll want to make sure you add that account as a valid member of a group in the VSO account. In this walkthrough, I added the secondary account back into the VSO as an administrator.

So let’s see what’s happened.  Sign out, and then sign in as the primary Microsoft account.  Here’s the updated profile page for the primary account:

image

Notice that now this account “owns” both VSO accounts (primary and secondary).  Cool?

Now let’s own a third VSO account.  Sign out, then back in as the secondary Microsoft account.  Here’s the secondary account’s profile page:

image

This should be expected now, because this account no longer owns the secondary VSO account.

I click the link to “Create a free account now”, and create a third VSO account: https://stevelangetertiary.visualstudio.com/

Like before, I go to the Users page, add the primary Microsoft account as a valid (Basic) user, then specify in the Administrators area that I want my primary Microsoft account to be the owner (and per the above note/warning, I add the secondary account back in). Be sure to click the “Save” button throughout!

image

image

Once that’s all set, I sign out, then back in as the primary Microsoft account:

image

Now my primary Microsoft account owns three (3) VSO account. Sweet!

See the pattern?

  • As a Microsoft account that doesn’t own a VSO account, create a VSO account.
  • Transfer ownership of that account to the Microsoft account you actually want to own the VSO account.
  • Sign back in as the “dummy” Microsoft account, rinse and repeat as needed.

As an added FYI, if you have an Azure Subscription (not the same thing as Azure MSDN Benefits, by the way), you can link you Azure account to each of the VSO accounts you own, and distribute your Azure resources (users, build minutes, load testing, etc.) across each of them.

Here’s a big disclaimer: I’m still not clear if this is intended behavior, mainly because there’s no obvious link to create additional VSO accounts while logged in as a Microsoft account that already owns one.

Hey, but for now, this works!

Comments

  • Anonymous
    March 10, 2014
    that's amazing way out of creating multiple VSO accounts, thanks for sharing

  • Anonymous
    April 07, 2014
    Thank you, I'm going to give this a shot right now.  I'm the lead at my normal 9 to 5 day job and we're considering a move to VSO.  I've already made the move in my side job, and that's my problem.  I want to have a URL / Collection / Team Project / Whatever that is used for my side business, and then one that is used for my day job.  I rely on my MS account for everything and I don't want to sign out and sign back in every time.  I have one laptop I use for both businesses, etc.  I think this would be a fairly valid and common scenario, especially since us devs love to moonlight.

  • Anonymous
    June 17, 2015
    Steven, are there any options that allow me to assure my organization/business that my ownership is not a risk?  I.e. some way I can designate the company as the "legal" owner of an account so that in the event that the account owner leaves the company, they can be assured that worst case scenario the company can reach out to support, and as the "legal" owner of the account be able to request ownership be transferred to another employee? This kind of thing isn't as big a risk with on-premise services because there's usually a workaround using physical access that allows someone to login locally and remove a former employee's account.  Even IT managers leave sometimes and you find you need to reset passwords, even if not disgruntled and they just forgot about that system.

  • Anonymous
    August 02, 2015
    Hi Steven, Just a quick note to let you know that you can now create multiple accounts on the same user. There's now a link directly under the list of accounts.

  • Anonymous
    August 02, 2015
    @Storm, thanks!  You beat me to it - I was hoping to update this post this week.  You just did it for me!

  • Anonymous
    August 26, 2015
    if I'm owning two Visual Studio Online sites (e.g A.visualstudio.com and B.visualstudio.com) with two different VSO account (account1 and account2) for historical reason and now I want to switch owner of site A to account2 and site B to account1, can I simply set the owner of site A to account1 and than change the owner account of site B to account1 (the former owner acccount of site A) Temporarily the VSO account account2 will be the owner of two sites A and B - does it work or can an account only be own one site ?

  • Anonymous
    August 26, 2015
    @Daniel - yes, a single person/owner can own more than one VSO account.  

  • Anonymous
    September 10, 2015
    Where is this link to create a second account for the same user? I must not be looking in the correct places. :-/

  • Anonymous
    September 10, 2015
    @Shane - when you're logged in at visualstudio.com, and click your name at the top right, that will take you to your profile page (app.vssps.visualstudio.com/.../view).  On the right you will see a list of any VSO accounts of which you're the owner.  At  the bottom of that list there will be a link "Create a free account now".  Use that!

  • Anonymous
    September 10, 2015
    @Steven: Well, those steps didn't get me there but the link did. Thanks! When I click my name in the corner, I get a popup. I click on "My Profile" and it takes me to my profile page (but it's https://{acct}.visualstudio.com/_details/profile/information). Anyways, I'm all set now. Thank you!

  • Anonymous
    November 11, 2015
    @Steven: you should still update your article about the ability now in 2015 to have multiple VSO accounts.  If I had not noticed the 1 comment by Storm, I would not have known this.

  • Anonymous
    November 11, 2015
    @Dean - thanks for the feedback. I had previously provided an update at the top of the post, but it sounds like it's not very obvious.  Thanks!