How do I only grant Azure Compute Gallery network access to storage account?

Kjell Ahlström 0 Reputation points
2023-07-20T11:07:01.2333333+00:00

When we create a vm application version for a vm scaleset we choose the application package somewhere from a storage blob.

This works well as long as the firewall of the storage account is open to all networks.

However, if we limit the network access to the storage to specific networks, it is no longer possible to create a VM Application Version based on a blob in that storage. It now throws the error "The SAS is not valid for source uri"

How can we allow the Azure Compute Gallery to access the network of the Azure Storage without opening the firewall to all Networks.?

Compress_20230720_135850_0291

Compress_20230720_135850_0535

Compress_20230720_135850_0732~2

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,714 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
348 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Carlos Solís Salazar 16,611 Reputation points
    2023-07-21T11:44:48.8166667+00:00

    Thank you for asking this question on the Microsoft Q&A Platform.

    You need to create a SAS URL; it is something like this:
    Screenshot of a storage url with SAS token appended.

    You can create your SAS Token with the following documentation:

    Let me know if this helps by accepting the answer!


    Accept Answer and Upvote can help others in the community looking for remediation for similar issues.

    NOTE: To answer you as quickly as possible, please mention me in your reply.