[Azure Batch Python SDK] Property authenticationTokenSettings is not enabled for current account #39398
Labels
Batch
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
We are now getting
Property authenticationTokenSettings is not enabled for current account
error when our code (using Azure Batch Python SDK) is trying to add a new job schedule to our Azure Batch Account service instance. Our deployment pipeline already set the authentication mode for the batch account to haveTaskAuthenticationToken
enabled. And the azure batch client instance (in the code) were created using an managed identity which was already has Contributor role assigned for accessing the same batch account. Everything was working earlier until now and we didn't have code changes related to authentication for a while. What could go run?Please see below for the code, the exception were thru on the line doing
batch_service_client.job_schedule.add
The text was updated successfully, but these errors were encountered: