Misleading error message when using a custom image
I tried to create a pool for Azure Batch (from python) with a custom image. I got this error message:
"AuthenticationErrorDetail: The specified type of authentication SharedKey is not allowed when external resources of type Compute are linked."
The real problem seems to be using a custom image, which makes SharedKey auth not usable. The "external resources of type Compute" didn't have any meaning for me; something like "using a custom image with Azure Batch requires AAD/ServicePrincipal auth" would have been more helpful.