MsiDownload404ErrorString="please ensure that the blob location in the fileUri setting exists, and the specified Managed Identity has read permissions to the storage blob"
MsiDownload403ErrorString="please ensure that the specified Managed Identity has read permissions to the storage blob"
errString=fmt.Sprintf("CustomScript failed to download the file from %s because access was denied. Please fix the blob permissions and try again, the response code and message returned were: %q",
hostname,
resp.Status)
casehttp.StatusNotFound:
errString=fmt.Sprintf("CustomScript failed to download the file from %s because it does not exist. Please create the blob and try again, the response code and message returned were: %q",
hostname,
resp.Status)
casehttp.StatusBadRequest:
errString=fmt.Sprintf("CustomScript failed to download the file from %s because parts of the request were incorrectly formatted, missing, and/or invalid. The response code and message returned were: %q",
hostname,
resp.Status)
casehttp.StatusInternalServerError:
errString=fmt.Sprintf("CustomScript failed to download the file from %s due to an issue with storage. The response code and message returned were: %q",
hostname,
resp.Status)
default:
errString=fmt.Sprintf("CustomScript failed to download the file from %s because the server returned a response code and message of %q Please verify the machine has network connectivity.",