Hello @tmsagora ,
Welcome to the MS Q&A platform.
The issue has been documented here.
Resolution:
To resolve the issue, manage the Batch pool and the storage account configurations based on your scenarios.
Scenario 1: Batch pool and storage account are in the same region, and Batch pool has a virtual network
Check Subnet information under Network Configuration from the Azure portal > Batch Account > Pool > Properties. Take note and write the information down.
Navigate to the storage account, and select Networking. In the Firewalls and virtual networks setting, select Enable from selected virtual networks and IP addresses for Public network access. Add the Batch pool's subnet in the firewall allowlist.
If the subnet doesn't enable the service endpoint, when you select it, a notification will be displayed as follows:
The following networks don't have service endpoints enabled for 'Microsoft.Storage'. Enabling access will take up to 15 minutes to complete. After starting this operation, it is safe to leave and return later if you don't wish to wait.
Therefore, before you add the subnet, check it in the Batch virtual network to see if the service endpoint for the storage account is enabled.
After you complete the configurations above, the Batch nodes in the pool can access the storage account successfully.
Scenario 2: Batch pool and storage account are in different regions
Create a new Batch pool in a virtual network with a static public IP address. For more information, see Create a Batch pool with specified public IP addresses.
Because the Batch pool and storage account are in different regions, the outbound traffic will go through the public internet via the public IP address.
Write down the public IP address.
Assign the public IP address to the Batch pool public Load Balancer's IP.
Add the public IP address to the storage firewall allowlist.
Run the Batch jobs with the newly created Batch pool.
Please go over this and let us know if you have any further questions.
------------------------------
- Please don't forget to click on and upvote button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators