I have a signing failure in my GitHub Actions code, but the signing failure still returns a 0 error code so Actions continues on despite the failure.
The specific failure I'm seeing (though it shouldn't matter; any signing failure should return a non-0 error code):
warn: Azure.Core[8]
Error response [fc5043e2-7fc4-4a3c-bf10-1d770ee45318] 401 Unauthorized (00.3s)
Cache-Control:no-cache
Pragma:no-cache
x-ms-keyvault-region:westus
x-ms-client-request-id:fc5043e2-7fc4-4a3c-bf10-1d770ee45318
x-ms-request-id:37f52321-1911-4912-8d54-edf010d72194
x-ms-keyvault-service-version:1.9.2421.1
x-ms-keyvault-network-info:conn_type=Ipv4;addr=20.55.46.88;act_addr_fam=InterNetwork;
X-Content-Type-Options:REDACTED
Strict-Transport-Security:REDACTED
WWW-Authenticate:***"https://login.microsoftonline.com/***", resource="https://vault.azure.net"
Date:Fri, 23 May 2025 18:05:39 GMT
Content-Type:application/json; charset=utf-8
Expires:-1
Content-Length:97
warn: Azure.Core[8]
Error response [7e2472ad-fd5e-4b53-a084-e64266a7a685] 400 Bad Request (00.0s)
Server:IMDS/150.870.65.1544
x-ms-request-id:1e1f3560-a91d-4530-b574-ecef8576fa18
Date:Fri, 23 May 2025 18:05:39 GMT
Content-Type:application/json; charset=utf-8
Content-Length:88
warn: Azure.Identity[9]
False MSAL 4.67.2.0 MSAL.NetCore .NET 8.0.16 Microsoft Windows 10.0.20348 [2025-05-23 18:05:39Z - 3864d584-0d4f-4c57-8adf-a7c7e11d92da] [Managed Identity] Azure Arc managed identity cannot be configured on a platform other than Windows and Linux.
warn: Azure.Core[8]
Error response [d9d6770e-8dd8-4cc6-b59b-71[504](https://github.com/xunit/xunit/actions/runs/15216295071/job/42802486246#step:8:505)346d22a] 400 Bad Request (00.0s)
Server:IMDS/150.870.65.1544
x-ms-request-id:41337379-ed4d-4f14-bc3b-578a001ac10d
Date:Fri, 23 May 2025 18:05:39 GMT
Content-Type:application/json; charset=utf-8
Content-Length:68
warn: Azure.Identity[9]
False MSAL 4.67.2.0 MSAL.NetCore .NET 8.0.16 Microsoft Windows 10.0.20348 [2025-05-23 18:05:39Z - 3864d584-0d4f-4c57-8adf-a7c7e11d92da] Request retry failed.
fail: Azure.Identity[10]
False MSAL 4.67.2.0 MSAL.NetCore .NET 8.0.16 Microsoft Windows 10.0.20348 [2025-05-23 18:05:40Z - 3864d584-0d4f-4c57-8adf-a7c7e11d92da] Error message: [Managed Identity] Authentication unavailable. Either the requested identity has not been assigned to this resource, or other errors could be present. Ensure the identity is correctly assigned and check the inner exception for more details. For more information, visit https://aka.ms/msal-managed-identity.
Status: BadRequest
Content:
{"error":"invalid_request","error_description":"Identity not found"}
Headers:
Server: IMDS/150.870.65.1544
x-ms-request-id: 41337379-ed4d-4f14-bc3b-578a001ac10d
Date: Fri, 23 May 2025 18:05:39 GMT
[Managed Identity] Error Code: invalid_request Error Description: Identity not found Http status code: BadRequest
fail: Azure.Identity[10]
False MSAL 4.67.2.0 MSAL.NetCore .NET 8.0.16 Microsoft Windows 10.0.20348 [2025-05-23 18:05:40Z - 3864d584-0d4f-4c57-8adf-a7c7e11d92da] Exception type: Microsoft.Identity.Client.MsalServiceException
, ErrorCode: managed_identity_request_failed
HTTP StatusCode 0
CorrelationId 3864d584-0d4f-4c57-8adf-a7c7e11d92da
To see full exception details, enable PII Logging. See https://aka.ms/msal-net-logging
at Microsoft.Identity.Client.ManagedIdentity.ImdsManagedIdentitySource.HandleResponseAsync(AcquireTokenForManagedIdentityParameters parameters, HttpResponse response, CancellationToken cancellationToken)
at Microsoft.Identity.Client.ManagedIdentity.AbstractManagedIdentity.AuthenticateAsync(AcquireTokenForManagedIdentityParameters parameters, CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.ManagedIdentityAuthRequest.SendTokenRequestForManagedIdentityAsync(ILoggerAdapter logger, CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.ManagedIdentityAuthRequest.GetAccessTokenAsync(CancellationToken cancellationToken, ILoggerAdapter logger)
at Microsoft.Identity.Client.Internal.Requests.ManagedIdentityAuthRequest.ExecuteAsync(CancellationToken cancellationToken)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.<>c__DisplayClass11_1.<<RunAsync>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.Identity.Client.Utils.StopwatchService.MeasureCodeBlockAsync(Func`1 codeBlock)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.RunAsync(CancellationToken cancellationToken)
warn: Azure.Core[8]
Error response [7328993c-ea63-4e17-b600-91f60f909c7f] 401 Unauthorized (00.1s)
Cache-Control:no-cache
Pragma:no-cache
x-ms-keyvault-region:westus
x-ms-client-request-id:7328993c-ea63-4e17-b600-91f60f909c7f
x-ms-request-id:cbfd4f48-24bb-4c6e-8240-c93438656573
x-ms-keyvault-service-version:1.9.2421.1
x-ms-keyvault-network-info:conn_type=Ipv4;addr=20.55.46.88;act_addr_fam=InterNetwork;
X-Content-Type-Options:REDACTED
Strict-Transport-Security:REDACTED
WWW-Authenticate:***"https://login.microsoftonline.com/***", resource="https://vault.azure.net/"
Date:Fri, 23 May 2025 18:05:41 GMT
Content-Type:application/json; charset=utf-8
Expires:-1
Content-Length:97
I have a signing failure in my GitHub Actions code, but the signing failure still returns a 0 error code so Actions continues on despite the failure.
The specific failure I'm seeing (though it shouldn't matter; any signing failure should return a non-0 error code):