It’s been two years since I left Microsoft, and they finally decided to cancel my free employee Azure account. It was fun while it lasted, but now I have to move my data to a regular paid account. I looked through the FAQs and contacted support for the easiest way to do this, and unfortunately there is no officially recommended solution for moving storage accounts between different subscriptions.
I found some Windows-only tools that may have done the job, but I wanted a solution that would run on any platform. So I decided to write and share some quick NodeJS scripts: https://github.com/nabsul/migrate-azure-storage
- Get the code and install the dependencies
- Edit the configuration file with the source and destination storage accounts
- Run “
npm run copy"to copy all blob and table data
- Run “
npm run compare"to compare the data between the accounts
- For better performance, run this on a Digital Ocean droplet instead your home machine
- Preexisting blobs and tables are silently overwritten, so be careful!