You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return azcore.AccessToken{}, newAuthenticationFailedError(credNameManagedIdentity, "the requested identity isn't assigned to this resource", resp, nil)
181
-
}
182
-
msg:="failed to authenticate a system assigned identity"
msg+=fmt.Sprintf(". The endpoint responded with %s", body)
178
+
ifc.msiType==msiTypeIMDS {
179
+
switchresp.StatusCode {
180
+
casehttp.StatusBadRequest:
181
+
ifid!=nil {
182
+
return azcore.AccessToken{}, newAuthenticationFailedError(credNameManagedIdentity, "the requested identity isn't assigned to this resource", resp, nil)
183
+
}
184
+
msg:="failed to authenticate a system assigned identity"
body: `{"error":"invalid_request","error_description":"Identity not found"}`,
90
+
},
91
+
{
92
+
desc: "Docker Desktop",
93
+
code: http.StatusForbidden,
94
+
body: "connecting to 169.254.169.254:80: connecting to 169.254.169.254:80: dial tcp 169.254.169.254:80: connectex: A socket operation was attempted to an unreachable network.",
0 commit comments