I was using Batch service API to persist task data to Azure Storage but I updated the code to use Azure AD Authentication instead of using Storage and Batch account credentials. And the Batch service API does not work anymore as it requires Account Key credentials to generate the shared access signature for the container where I wish to store the output.
The only other way of persisting batch task output I found was to use the Batch File Conventions library for .NET but that requires me to make modifications to the task code, which is not an option.
Is there any way I can save the task output to Azure Storage without using a SAS Uri?
Additional information:
- The Storage Account is linked to the Batch Account.
- The Service Principal has Storage Blob Data Owner (this is temporary, I plan on using Storage Blob Data Contributor)