Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Authentication Issue

(0) ShareShare
ReportReport
Posted on by 545

We are using Dynamic CRM 365 online, My scenario is, we have a security layer while logging in CRM. 1). I, Log in using the CRM Credential 2). Then it will take me to a page, where i need to enter authentication code, which i will get on my mobile using some app.

The issue is being, whenever i want to connect CRM using Visual Studio for Plugin Development or SSRS Reports, its throwing error as follows, 

crmconnection.PNG

I would like to know, what is the reason for this issue & how this issue can be solved  

*This post is locked for comments

  • haseem Profile Picture
    haseem 23 on at
    Authentication Issue
    The error message "Can't use the cached credentials to sign into Microsoft Dynamics 365.
    You may have insufficient privileges to sign in" suggests a problem with user account permissions or the credentials being used.
    To resolve this issue, verify that the user account has the necessary privileges, clear cached credentials, ensure you have the latest Visual Studio and CRM SDK versions, double-check connection details, and consider alternative authentication methods if needed. If the problem persists, contact your organization's system administrator or IT support for further assistance.
  • Suggested answer
    Nishant Rana Profile Picture
    Nishant Rana 11,320 Microsoft Employee on at
    RE: Authentication Issue

    User App Password or Azure AD Conditional Access for that particular account

    www.mdsny.com/.../

  • Suggested answer
    Pradip Raj Profile Picture
    Pradip Raj 327 on at
    RE: Authentication Issue

    Hi,

    I have fixed my issue by uninstalling Report Authoring Extension and installing the latest one. Refer below link :

    mscrm365.blogspot.com/.../dynamics-crm-v9-connection-error-in.html

    Thanks

    Pradip

  • RE: Authentication Issue

    This is the reason behind your issue. I am trying to find out some work around for it. In the mean time, you can try to connect with CRM after disabling the MFA.

  • ganesh198715 Profile Picture
    ganesh198715 545 on at
    RE: Authentication Issue

    Yes

  • RE: Authentication Issue

    Is MFA enabled in your org.?

  • ganesh198715 Profile Picture
    ganesh198715 545 on at
    RE: Authentication Issue

    Seems Everything Fine to me, I checked the Error Log "parsing_wstrust_response_failed: Parsing WS-Trust response failed" this is the error i got.

  • RE: Authentication Issue

    Can you try following things:

    1. Try to connect on other system.

    2. Check project .net framework is >= to 4.5.2

    3. Check sdk dll versions whether it is compatible with dynamics 365 or not as sdk dll for dynamics 365 have some new authentication methods and sometimes it throws security exception.

  • ganesh198715 Profile Picture
    ganesh198715 545 on at
    RE: Authentication Issue

    Yes, Naveen, I did Try that

  • RE: Authentication Issue

    Hi Ganesh,

    Have you tried after clearing cache and %temp% folder?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans