Following up here as it has been 5 days.
This issue is affecting all new deployments of VM applications after the beginning of June. If you have older application versions/deployments these should still function as expected.
The issue has been stagged resolved but we are still pending a rollout of this fix across production. I don't presently have a timeline on this however will update here as I know more.
[Azure] "StorageAccountSubscriptionMismatch" error while deploying Gallery VM Applications
I've created all the required resources to deploy a Gallery VM applications and added a SAS URI as a "Source Application Package" for a VM application version.
The SAS URI of the blob is from the same subscription but from a different Azure region (West US) than VM (SouthCentral US) I'm trying to deploy.
The deployment is failing and I'm getting the following error, although the storage account is from the same subscription.
VM 'test-vm' with ApplicationProfile '/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>/providers/Microsoft.Compute/galleries/<gallery-name>/applications/<app-name>/versions/<app-version>' encountered a storage error with error code: StorageAccountSubscriptionMismatch..
StorageAccountSubscriptionMismatch
one more doubt:
- Is it an expected behavior to fail the deployment even after creating the SAS URI of the blob and using in different subscription?
-
TylerMo 106 Reputation points
2022-06-22T16:30:40.54+00:00
2 additional answers
Sort by: Most helpful
-
TylerMo 106 Reputation points
2022-06-17T02:26:32.013+00:00 I can confirm this is a current iteration bug that will be fixed soon. A resolution is in the works of being deployed asap.
-
deherman-MSFT 34,026 Reputation points Microsoft Employee
2022-06-07T22:28:29.213+00:00 I understand you are trying to deploy a VM from Gallery and facing the above error.
I believe this issue might be related to the Boot Diagnostics settings for your VM. The VM boot diagnostics feature requires a storage account that is located in the same subscription as the VM.
Please check and see if this resolves your issue. If you are still facing issues, please let me know and I can work with you directly to further diagnose the error.
-------------------------------
Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.