Questions related to Retirement Notice: Transition to Batch Spot VMs before 30 September 2025

Karthick Narendran 21 Reputation points Microsoft Employee
2025-09-24T17:17:49.8633333+00:00

Hello,

Following the recent notice, we transitioned our Azure Batch service from using low-priority VMs to Spot VMs by re-creating the Batch account with the 'pool allocation mode' configured to 'User Subscription'.

Following this activity we have three questions:

  1. How can we confirm now that our pools are now using Spot VMs and not Low priority VMs?
  2. Setting the pool allocation mode to "User Subscription" is the only change required to support this retirement or are there any additional changes required?
  3. Azure Batch accounts in User Subscription mode support only Entra ID authentication (not shared key), and the Python SDK that supports Entra is in version 15.0.0 which is currently in beta. Can you confirm when is the stable version expected?

Thanks,

Karthick.

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
{count} votes

Answer accepted by question author
  1. Ankit Yadav 4,145 Reputation points Microsoft External Staff Moderator
    2025-09-24T19:16:08.6633333+00:00

    Hello Karthick Narendran,

    Please find answers to your questions below:

    1. How can we confirm now that our pools are now using Spot VMs and not Low priority VMs?
    Azure is still using the older naming convention for the VMs in the Azure Portal (possibly for backward compatibility) due to which this confusion might have arisen to confirm if VMs are Spot or still Low priority VMs in the new batch account.
    User's image

    To confirm you can use below Azure CLI command to verify:

    az batch pool show 
    --account-name <your-batch-account-name> 
    --account-endpoint "https://<your-batch-account-name>.<region>.batch.azure.com" 
    --pool-id <your-pool-id> 
    --query "{PoolID:id, VMSize:vmSize, SpotNodes:scaleSettings.targetLowPriorityNodes}"
    

    reference article : https://free.blessedness.top/en-us/azure/batch/low-priority-vms-retirement-migration-guide#to-ensure-the-migration-is-correctly-applied

    2. Setting the pool allocation mode to "User Subscription" is the only change required to support this retirement or are there any additional changes required?
    Yes, the primary change is indeed to set the pool allocation mode to "User Subscription", apart from some pre-requisites that come along with User Subscription mode such as Accept Legal terms, Allow Batch to access the subscription, key vault, designated authentication method while creating batch account, etc as listed out here: https://free.blessedness.top/en-us/azure/batch/batch-account-create-portal#configure-user-subscription-mode.

    Given the fact that you have already created a new batch account with User Subscription mode so you should already be done with these steps.

    3. Azure Batch accounts in User Subscription mode support only Entra ID authentication (not shared key), and the Python SDK that supports Entra is in version 15.0.0 which is currently in beta. Can you confirm when is the stable version expected?

    There is no ETA yet for stable version for Python SDK for Entra support and yes the version that supports Entra is 15.0.0. Right now, the last pre-release version (15.0.0b2) was from Apr 2025.
    At this point, we only can file an issue on the repository (https://github.com/Azure/azure-sdk-for-python/issues) to notify the maintainers and get it prioritized.

    Let me know if my response helped clear things up, or if you have any other questions.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.