I receive the "Selected user account does not exist in tenant 'Microsoft Services'" error, when trying to sign an exe on my pc

raelb 0 Reputation points
2025-03-05T14:59:08.2766667+00:00

I am trying to sign a local exe file with Azure Trusted Signing. I have a simple Azure account, i.e. a single user and I am not part of any organizations etc. If I look in the "Default Directory" (in Azure), it shows only 1 user, and that's me.

So now to perform the exe code signing, I have gone through the required steps mentioned in https://learn.microsoft.com/en-us/azure/trusted-signing/how-to-signing-integrations

i.e., I've setup Identity Validation, Certificate Profile, installed the Trusted Signing Client Tools, assigned the required permissions for myself in Azure, created the metadata.json file.

At the command prompt I enter the required command, this starts the Trusted Signing process, and then brings up a tab in my browser to pick an Account. I click on my account, and then this error comes up:

"Selected user account does not exist in tenant 'Microsoft Services' and cannot access the application '04b07795-....-02f9e1bf7b46' in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account."

Where do I find "Microsoft Services" tenant? And how to add myself as a user there?

(I'm on Windows 10 x64)

Azure Trusted Signing
Azure Trusted Signing
Trusted Signing is a Microsoft fully managed, end-to-end signing solution that simplifies the certificate signing process and helps partner developers more easily build and distribute applications.
247 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Meha-MSFT 1,165 Reputation points Microsoft Employee Moderator
    2025-03-06T00:52:26.3833333+00:00

    If you have multiple tenant ids/subscriptions with Azure. Please be sure to use the one where you have created Trusted Signing resources. Logout and log back in with the intended ids.

    0 comments No comments

  2. Meha-MSFT 1,165 Reputation points Microsoft Employee Moderator
    2025-03-07T17:38:32.2466667+00:00

Your answer

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