Selected user account does not exist in tenant 'Microsoft Services' and cannot access the application '04b07795-8ddb-461a-bbee-02f9e1bf7b46' in that tenant.

JiraSQL 25 Reputation points
2025-02-25T16:28:56.1233333+00:00

Hi all

I can't sign my program :(.. .this is what I use :

"C:\Windows\System32\Microsoft.Windows.SDK.BuildTools\bin\10.0.22621.0\x64\signtool.exe" sign /v /fd SHA256 /tr "http://timestamp.digicert.com" /td SHA256 /dlib "C:\Windows\System32\Microsoft.Trusted.Signing.Client\bin\x64\Azure.CodeSigning.Dlib.dll" /dmdf "D:\runJIRA\JiraSQL-firefox\sign.json" "D:\runJIRA\JiraSQL-firefox\JiraSQL_local.exe"

my json file :

{   "Endpoint": "https://weu.codesigning.azure.net",   "CodeSigningAccountName": "JiraSQL",   "CertificateProfileName": "JiraSQL" }

the result when signtool try to log me in :

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.

what should I do to sign my program ?

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.
249 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Meha-MSFT 1,165 Reputation points Microsoft Employee Moderator
    2025-02-25T23:05:26.0966667+00:00

    Can you log out and login in again with the tenant ID/subscription id where you created Trusted Signing resources.

    0 comments No comments

  2. JiraSQL 25 Reputation points
    2025-02-26T07:49:44.9333333+00:00

    Thanks a lot for your answer. This does solve my issue.

    If I log out, I've got now this error message :

    User's image

    0 comments No comments

  3. Meha-MSFT 1,165 Reputation points Microsoft Employee Moderator
    2025-02-28T19:15:02.7833333+00:00

    Looks like it is the setup you have with your tenant wrt the email address you are using.

    0 comments No comments

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.