Skip to content

Pool fails - authorization to perform action 'Microsoft.Batch/batchAccounts/pools/write' #154

@BC89

Description

@BC89

Problem Description

Running locally and the code to provisioin a pool and mount a fileshare works great. Once I deploy it to Azure container app serivce I get the following:

The client 'a15f98......' with object id 'a15f98.....' does not have authorization to perform action 'Microsoft.Batch/batchAccounts/pools/write' over scope '/subscriptions/235b2f.../resourceGroups/Br..../providers/Microsoft.Batch/batchAccounts/banx.../pools/626916.....' or the scope is invalid. If access was recently granted, please refresh your credentials.

C# .Net Management SDK. Works fine locally.

Any suggestions?

Steps to Reproduce

Expected Results

Pool would be provisioned, fileshare mounted. Works locally.

Actual Results

Additional Logs

INSERT ADDITIONAL LOGS HERE

Additonal Comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions