web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

XrmToolBox returns an error when establishing a new connection

(1) ShareShare
ReportReport
Posted on by

I tried to establish a new Connection in XrmToolBox with the following Server information. 

Server Name:  crm5.dynamics.com

Use SSL, use CRM Online and use Office 365.

I supplied my login account and password (which are correct as I used them to login to CRM).  However, when I clicked the Get Orgs button, I received the following error:

An error occurred while retrieving organizations: An unsecured or incorrectly secured fault was received from the other party.  See the inner FaultException for the fault code and details.  Inner Exception: Authentication Failure

Please help

Tiong

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    CU03101511-0 Profile Picture
    2 on at
    XrmToolBox returns an error when establishing a new connection
    Good morning, I had the same issue. The problem is that XRM doesn't accept the default MFA authentication, so I solved it as follows: when the authenticator prompt appeared, I clicked on the option that says "I can't use my authenticator right now," and then I selected the option to enter the code. I retrieved the code from the authenticator, entered it, and it worked.
  • Suggested answer
    Nishant Rana Profile Picture
    11,325 Microsoft Employee on at
    RE: XrmToolBox returns an error when establishing a new connection

    This would help

    nishantrana.me/.../

  • Aparna1 Profile Picture
    222 on at
    RE: XrmToolBox returns an error when establishing a new connection

    Hi Joaquim,

    It is great that you have found the solution. I am also facing the same issue. When I tried to access the link you provided, I am getting the message access denied.

    I am unable to understand what access rights are needed as I am not the global admin. I request you to please help me.

    Thanks

    Aparna

  • Boopesh dhandapani Profile Picture
    11 on at
    RE: XrmToolBox returns an error when establishing a new connection

    Thanks works great!!

  • Jlavos Profile Picture
    345 on at
    RE: XrmToolBox returns an error when establishing a new connection

    greate, glad it helped.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: XrmToolBox returns an error when establishing a new connection

    @Joaquim

    This works great: created an app password in account.activedirectory.windowsazure.com/AppPasswords.aspx and used that password to login

    Then I had to give permission to both IIS_IUSER and NETWORK SERVICES account full access to the portal's AppData Directory in IIS.

  • Verified answer
    Jlavos Profile Picture
    345 on at
    RE: XrmToolBox returns an error when establishing a new connection

    Found the solution, created an app password in account.activedirectory.windowsazure.com/AppPasswords.aspx and used that password to login

  • Jlavos Profile Picture
    345 on at
    RE: XrmToolBox returns an error when establishing a new connection

    I'm having the same issue.

    I suspect its because of 2FA, but I don't have a solution for this.

    Has anyone found a solution?

  • Suggested answer
    BackToTheCrm Profile Picture
    on at
    RE: XrmToolBox returns an error when establishing a new connection

    Hello Tiong,

    This issue may occur for any of the following causes:

    1. The operating system date on the client computer is not set to the correct date.
    2. The operating system time on the client computer is not set to the correct time.
    3. The operating system time zone on the client computer is not set to the correct time zone.

    Please check this KB for more information, it's about the CRM for Outlook but the error message is the same.

    If you're satisfied with my answer, please mark it as verified.

    Clément

     

  • Community Member Profile Picture
    on at
    RE: XrmToolBox returns an error when establishing a new connection

    I think it is due to 2FA login requirement from our customization.

    Do you use 2FA login as well?  Please confirm.

    I check the website, the xrmtoolbox does not support multi-factor authentication currently.

    I switched back to the on-line trial as my SA is not comfortable to give me a non 2FA login ID.

    The crmsvcutil that generates early-bound entity class also does not support 2FA login.

    Tiong

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans