Granting access to a secured WorkspaceDNA storage account
Understand how to give your users access to the WorkspaceDNA storage account when public network access is disabled or limited to selected networks.
WorkspaceDNA stores uploaded applications, packaged applications, applications imported with the SCCM Utility, and video recordings in an Azure storage account. When you download a packaged application, play back a video in your workspace, or import applications with the SCCM Utility, your device connects directly to that storage account. If you disable public network access, or allow access only from selected networks, you need to make sure your users can still reach it from wherever they work. This article explains the options and what to consider for each.
When WorkspaceDNA deploys the storage account, access is already granted to the virtual network used by the Gateway and Task Runners. If you use an existing storage account, the network settings are not automatically updated, and you may need to manually add the Gateway's virtual network (VNet) if Public access is not Enabled from all networks.
In this article
- Prerequisites
- Understanding the storage account network settings
- How users reach the storage account
- Scenarios to consider
- Reviewing and testing your configuration
- Next steps & further reading
Prerequisites
Before you change the network settings on the storage account, make sure you have:
- A completed WorkspaceDNA deployment.
- Access to the Azure portal with permission to change the networking configuration of the storage account, such as the Storage Account Contributor on the storage account, or Owner on the WorkspaceDNA resource group.
- A list of egress IP addresses for the locations your users work from, such as offices, home networks, VPN and Azure-hosted desktops, and how each one reaches the internet and Azure. Your network or security team can usually provide this.
Understanding the storage account network settings
Azure storage accounts have two separate settings that are both often described as "public access". It is important to know which one you are changing, because they affect WorkspaceDNA very differently.
Anonymous blob access
The Allow Blob anonymous access setting controls whether anyone can read containers and blobs without signing in. WorkspaceDNA doesn’t rely on anonymous access, and the WorkspaceDNA MPO deploys the storage account with this setting disabled. If you pre-create the storage account and the setting is enabled, you can safely disable it without affecting the Gateway, Task Runners, package downloads or video playback.
Allow storage account key access must stay Enabled. The shared access signatures (SAS) used for package downloads and SCCM Utility imports are signed with the account key. Turning this off will break package downloads and SCCM Utility imports.
Public network access
The Public network access setting controls which networks can reach the storage account's public endpoint. It has three options:
|
Option |
What it allows |
Effect on your users |
|---|---|---|
|
Enabled from all networks |
Any network, subject to authentication |
Users can download packages and play back videos from anywhere. |
|
Enabled from selected virtual networks and IP addresses |
Only the virtual networks, IP addresses and IP ranges you add to the storage account firewall |
Users can download packages and play back videos only from the locations you allow. |
|
Disabled |
Only private endpoints |
Users need a private network path to the storage account. See Scenarios to consider. |
The WorkspaceDNA MPO deploys the storage account with Public network access configured as Enabled from selected virtual networks and IP addresses and the Gateway VNet is added automatically. If you pre-create the storage account with Public network accessEnabled from all networks, the WorkspaceDNA MPO does not change that setting. If you subsequently change Public networccess to Enabled from selected virtual networks and IP addresses or Disabled, you will need to configure user access to the storage account accordingly.
Network rules control where users can connect from, not who can connect. Users still need to be signed in to your workspace to download packages or play back videos.
How users reach the storage account
When a user downloads a package or plays back a video, the request goes from the device they are signed in to (laptop, VM, server) straight to the storage account. The address the storage account sees depends on where the user is, what device they are signed into and how their network reaches Azure, so each location may need a different kind of rule.
|
Where the user's device is located |
What the storage account usually sees |
Typically allowed by |
|---|---|---|
|
In the office |
Your corporate public egress address, or a private address if you use ExpressRoute or a site-to-site VPN |
IP address rules for your egress or owned public ranges, or a private endpoint |
|
Remotely, on the corporate VPN |
The corporate or VPN egress address, or the user's home address if the VPN uses split tunneling |
IP address rules for your VPN egress, a virtual network rule, or a private endpoint |
|
Remotely, without a VPN |
The user's home or mobile public address |
IP address rules for individual addresses (high maintenance) |
|
On an Azure-hosted desktop or jump box |
The subnet the machine is connected to |
A virtual network rule for that subnet |
If a user's location isn't allowed, the rest of the workspace still works, but package downloads and video playback will not be possible until the user connects from a location that is allowed.
Scenarios to consider
To download packages and play back videos, your users need access to the storage account from wherever they use WorkspaceDNA. How you grant that access depends on where they work and how your network reaches Azure. Depending on your environment, you may need to allow one or more of the following:
- Existing virtual networks, for users who work from machines in Azure, such as Azure Virtual Desktop, Windows 365 or a jump box.
- Individual IP addresses, for users with a fixed public address. Keep in mind that this adds ongoing maintenance, because home and mobile addresses can change without warning.
- Corporate subnet ranges or public IP egress, for users in your offices.
- VPN subnet ranges or public IP egress, for remote users who connect through your VPN.
- Private endpoints, for users with a private route to Azure, such as ExpressRoute or a site-to-site VPN. This is the only option if public network access is Disabled.
Your network team can tell you how traffic from each user location reaches Azure, and which of these options fits your environment.
Setting public network access to Disabled negates the virtual network rule WorkspaceDNA adds for the Gateway and Task Runners, and is not recommended.
Cloud PCs
Cloud PCs need to map a drive to the storage account to access package source files when installing applications for testing.
Cloud PCs provisioned by WorkspaceDNA use the Gateway’s VNet, which already has access to the storage account. Linked Cloud PCs may use a different VNet. If they do, you must also allow access from that VNet so they can connect to the storage account.
Reviewing and testing your configuration
Review the network settings in Azure
To find the network settings for the WorkspaceDNA storage account:
- Sign in to the Azure portal.
- Go to Resource groups and open your WorkspaceDNA resource group.
- Open the storage account.
- Under Security + networking, select Networking.
On the Networking page you can review:
- Public network access, and whether it is set to all networks, selected networks or disabled.
- Virtual networks, to see which subnets are allowed. The subnet used by the Gateway and Task Runners is already listed.
- Firewall, to see which IP addresses and CIDR ranges are allowed.
- Private endpoint connections, to see any private endpoints for the blob sub-resource.
Test from each user location
After each change, test from a device in each location you allowed, such as the office, the VPN and any Azure-hosted desktops:
- Sign in to your WorkspaceDNA workspace at rimo3cloud.com.
- Download a package from the Package Details page of an application.
- Play back a sequence video.
A successful test from one location doesn't confirm the others. Test from each location separately, because each one may reach the storage account through a different address.
Next steps & further reading
- Configure Azure Storage firewalls and virtual networks on Microsoft Learn.
- Use private endpoints for Azure Storage on Microsoft Learn.