Attempting to use signtool with azure signing gives error on attempting auth

Vulpisoft - Jessi 20 Reputation points
2025-02-03T23:20:10.86+00:00

After utilizing the command: & "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64\signtool.exe" sign /v /debug /fd SHA256 /tr "http://timestamp.acs.microsoft.com" /td SHA256 /dlib "C:\Users\Jessi\Downloads\microsoft.trusted.signing.client.1.0.60\bin\x64\Azure.CodeSigning.Dlib.dll" /dmdf "C:\Users\Jessi\Documents\censored-github\signing_meta.json" '.\item.exe'

it brings up sign-in and upon attempting to sign in it gives the following error:
Selected user account does not exist in tenant 'Microsoft Services' and cannot access the application '04b07795-8ddb-461a-bbee-02f9e1bf7b46' in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account.

Attempts to follow online advice have been met with no help unfortunately.

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

Answer accepted by question author
Anonymous
2025-02-04T10:50:07.0333333+00:00

Hello @Vulpisoft - Jessi,

Thank you for posting your query on Microsoft Q&A. 

We understand that your sign in attempts lands you with an error that "Selected user account does not exist in tenant 'Microsoft Services' and cannot access the application '04b07795-8ddb-461a-bbee-02f9e1bf7b46' in that tenant". Typically, "Microsoft Services" appears when you're using a personal account (such as Gmail, Hotmail, or MSN) to authenticate to Azure resources, where your users may have been added as guest accounts in the tenant. 

Could you please confirm whether you're using a personal account or a work/school account to authenticate? 

If you're using a personal account, try directing the authentication to your tenant by using https://login.microsoftonline.com/<Replace your tenant_ID> 

Sharing relevant document for more information: https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/app-integration/error-code-AADSTS50020-user-account-identity-provider-does-not-exist#cause-3-signed-in-to-the-wrong-tenant

Hope this helps. Do let us know if you any further queries.

Thanks & Regards,

Janaki Kota

Was this answer helpful?


0 additional answers

Sort by: Most 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.