Fixed retrieve images when the authentication is AAD