Artifact Signing: every signing operation ends with status Failed (SignerSign() failed 0x80004005) after subscription reactivation

Paweł Meller 0 Reputation points
2026-11-23T22:07:14.9533333+00:00

Setup: Azure Artifact Signing (formerly Trusted Signing), account in North Europe (https://neu.codesigning.azure.net/), SKU Basic, public trust certificate profile (Active), identity validation Completed. Signing with signtool 10.0.26100 x64 + Azure.CodeSigning.Dlib 1.0.119 (client tools 0.1.128), .NET 10 runtime. The signing user has the Artifact Signing Certificate Profile Signer role on the account.

What happened: signing worked until 2026-11-20. The subscription was paid and reactivated on 2026-11-23. Since then every request is accepted, but the operation ends as Failed with no reason (signature: null) and signtool reports SignerSign() failed (-2147467259 / 0x80004005). Authentication is fine (the service accepts the request and starts the operation). The service issued a new certificate on 2026-11-23 14:21 UTC (status Active), after a gap with no new certificates from 2026-11-17 to 2026-11-22.

Failed operation ids (2026-11-23 UTC):

  • 9be81765-5326-4314-9b9c-df88b11d86e6 (21:39)
    • b2c1c191-755e-4647-ba43-40a9285b49de (21:40)
      • d85fd67e-e124-4b54-b839-0a5be1e42fea (22:43)
        • 56211866-6f2b-4f26-9b08-6828a5076f60 (22:44)
      • Client output (trimmed): OperationId ...: InProgress, then Azure.RequestFailedException with content {"operationId":"...","status":"Failed","signature":null,"signingCertificate":null,"counterSignature":null}.
    • Question: how can I see why these operations fail, and is there anything on the account, profile or subscription (for example billing state after reactivation, or a certificate that needs to be regenerated) that I should check or reset? I do not have a paid support plan, so I cannot open a technical support ticket.
Artifact Signing
Artifact Signing

A fully managed end-to-end service for digitally signing code, documents, and applications. (formerly Trusted Signing)

0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-11-23T22:07:34.9866667+00:00

    For this failure pattern, the supported checks are the Artifact Signing configuration and prerequisites. The available diagnostics in the provided documentation are:

    1. Keep the failed file and its hash.
    2. Subscribe to signing transaction events, because that information can help troubleshoot signing-related issues.
    3. Run SignTool with /debug to capture certificate and filtering details.
    4. For 0x80004005, if Service Principal + certificate authentication is being used, verify the required environment variables.

    For account, profile, and subscription state, check these items specifically:

    1. Subscription status must be Registered.
    2. The signing identity must have the Artifact Signing Certificate Profile Signer role.
    3. In metadata.json, verify:
      • CodeSigningAccountName is the Artifact Signing account name
      • CertificateProfileName is the correct certificate profile name
      • Endpoint matches the region where the account and certificate profile were created
    4. For North Europe, the endpoint must be: https://neu.codesigning.azure.net
    5. Confirm the corresponding identity validation status is Completed.
    6. Confirm the Certificate Profile status is Active.
    7. Check the dlib path and dlib version.
    8. Check the .NET version, dlib version, and Windows SDK version.
    9. Install the latest supported C++ Redistributables.
    10. Verify the signing request works from a different VM or computer, because a 403 can indicate a network issue.

    For SignTool setup, use the matching architecture and recommended SDK:

    & "<Path to SDK bin folder>\x64\signtool.exe" sign /v /debug /fd SHA256 /tr "http://timestamp.acs.microsoft.com" /td SHA256 /dlib "<Path to Artifact Signing dlib bin folder>\x64\Azure.CodeSigning.Dlib.dll" /dmdf "<Path to metadata file>\metadata.json" <File to sign>
    

    Important checks for this scenario:

    • A region/endpoint mismatch in metadata.json commonly causes 403 Forbidden and internal SignerSign() failure.
    • CodeSigningAccountName must be the Artifact Signing account name, not an email address or user ID.
    • If SignTool silently fails, ensure the relevant .NET runtime version is installed.
    • If the issue is caused by cached authentication state, sign out and sign in again for 401-type auth issues; for local cache-related MsalUiRequiredException, the issue resolves after cache refresh.

    The provided documentation does not describe a user-visible way to inspect a deeper backend reason for operations that end in status: Failed with signature: null, and it does not document any reset action for billing reactivation or certificate regeneration after subscription reactivation. The supported self-service path is to validate the configuration and prerequisites above and retain the file/hash plus transaction-event data for troubleshooting.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.