Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Suggested answer

How to Connect MVC to Dynamics 365

(0) ShareShare
ReportReport
Posted on by 45

Hi All Virtual,

I am using ASP.NET MVC to connect my D365 organization but getting some errors.

Following this link: https://scaleablesolutions.com/connecting-asp-net-mvc-application-to-dynamic-crm/

ae904231_2D00_a2c6_2D00_410b_2D00_a5b0_2D00_54f01c659f55.jpg

Can someone help me I am new in MVC & if possible please provide a solution.

Thanks.

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: How to Connect MVC to Dynamics 365

    Hi,

    Check if you have provided correct Username and Password in your connectionstring.

    Make sure you have assigned appropriate security role to the specified user in Dynamics CRM.

    Also, Can you please share the connection string you have used in your asp.net mvc application.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Suggested answer
    PerezAguiar Profile Picture
    PerezAguiar on at
    RE: How to Connect MVC to Dynamics 365

    hey!

    I think the issue comes with the ConnectionString.  Since 2021, WS-Trust authentication is no longer supported.  You can read more on Use of Office365 authentication with Microsoft Dataverse (Microsoft Dataverse) - Power Apps | Microsoft Docs.  Please ensure you use the right connection string, as well as patching the libraries to the latest versions.

    Regards

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans