Moving Blob Storage Between Azure Subscriptions

We recently had some delays getting some Azure accounts coordinated for a client and chose to use a team subscription instead.  After some work, the delays were resolved and we had the client managed subscription in place.

The work done using the team subscription included uploading many gigabytes of sysprepped Virtual Machine images that would stand as the template for scaling up a set of services.  Once the client subscription was in place, we knew we would need to move the images over.

We were a little concerned that moving between subscriptions would take a long time.  Moving between containers isn’t hard, but could you rely on the same mechanism to move between subscriptions?  Turns out the answer is yes if you make the blob or container public during the move.

After you pull in your Azure Subscription into PowerShell (we used Import-AzurePublishSettingsFile) you can do this pretty easily.

Here’s an example of the Posh to do this with a public to private blob using the Azure PowerShell Cmdlets:

 

2 Replies to “Moving Blob Storage Between Azure Subscriptions”

  1. Is there a typo in there, missing a trailing double quote on line 6?

    Reply

    1. Fixed – thanks.

      Reply

Leave a Reply

Your email address will not be published. Required fields are marked *