Visual Studio - Login

Heitor Avellar Coelho 5 Reputation points
2023-10-02T19:02:23.49+00:00

Boa tarde,

Estou tentando fazer o login com meu usuário no visual studio e é apresentando a mensagem a seguir:


Estamos com problemas para fazer com que você entre.
  


AADSTS50020: User account 'XXX@XXXX.com.br' from identity provider 'https://sts.windows.net/d7082272-6bd1-49cd-9dd4-eb52d270d28b/' does not exist in tenant 'Empresa XXXXXXX' and cannot access the application '04f0c124-f2bc-4f59-8241-bf6df9866bbd'(Visual Studio) in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account. 

A empresa exibida na mensagem é um cliente antigo, já removi minha conta do diretório dele, mas o problema continua ocorrendo. O que devo fazer?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,672 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 26,476 Reputation points Microsoft Vendor
    2023-10-03T08:41:07.62+00:00

    Hi @Heitor Avellar Coelho

    Welcome to Microsoft Q&A! 

    Please try the following workaround:

    1. Close all instances of Visual Studio
    2. Delete all files of %localappdata%\.Identityservice
    3. Relaunch the Visual Studio and sign in account 

    By the way, currently in Microsoft Q&A we only support English, could you please edit your question into English? It will help solve your issue, thanks for your understanding. 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

     

    0 comments No comments