[Azure] "StorageAccountSubscriptionMismatch" error while deploying Gallery VM Applications

Rushikesh Gaidhani 161 Reputation points
2022-06-07T17:47:26.57+00:00

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?
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,202 questions
0 comments No comments
{count} votes

Accepted answer
  1. TylerMo 106 Reputation points
    2022-06-22T16:30:40.54+00:00

    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.

    2 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. 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.

    4 people found this answer helpful.
    0 comments No comments

  2. deherman-MSFT 33,701 Reputation points Microsoft Employee
    2022-06-07T22:28:29.213+00:00

    @Rushikesh Gaidhani

    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.

    1 person found this answer helpful.