answered 2017-01-26 20:35:34 +0200
For those having the issue mentioned above, make sure that you have NO application / services using the VHDx file while uploading it.
In our case, the CentOS template VM was still turned on and hence locked the VHDx file.