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