79768115

Date: 2025-09-18 07:37:53
Score: 0.5
Natty:
Report link

I eventually figured out why I was getting the vague:

Error: SignerSign() failed.
(-2147467259/0x80004005)

The missing piece was permissions at the Trusted Signing account level.
Even though I was the Owner of the Azure subscription, it is not enough to actually sign. You must also have the Trusted Signing Certificate Profile Signer role assigned.

Once I added my user to the Trusted Signing account with the Trusted Signing Certificate Profile Signer role, the signing command started working immediately.

Fix: Assign the user/service principal the Trusted Signing Certificate Profile Signer role on the Trusted Signing resource. Assigning role

After that, my signtool post-build step was able to successfully sign both DLLs and the MSI installer.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mertyacan