Share via

dotnet sign: 500 Internal Server Error when trying to sign

Clement 0 Reputation points
2026-03-26T15:23:02.6033333+00:00

Hi,

I'm new to Azure.

I'm trying to sign an application with sign.exe from dotnet sign.

I have already:

  • Created an Artifact Signing account in West Europe
  • Created a certificate profile with Public Trust type
  • Completed identity validation successfully
  • Added the Microsoft Code Signing service principal to my tenant
  • Verified that the service principal exists.

I get a 500 Internal Server Error without more details.

Here is my redacted command line:

./sign.exe code artifact-signing MyExecutable.exe -ase https://weu.codesigning.azure.net/ -asa Redacted -ascp Redacted -v information

fail: Sign.Core.ISigner[0]
      Service request failed.
      Status: 500 (Internal Server Error)

Content:
      {"errorDetail":{"code":"InternalError","message":"An internal error has occurred.","target":null}}

Thanks

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. Clement 0 Reputation points
    2026-03-27T09:06:49.7366667+00:00

    Fixed:

    I moved my subscription back to the default directory, and now signing works.

    I guess there was an issue with the directory I created.

    0 comments No comments

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.