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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
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.

I have the same question (0)
  • Suggested answer
    PerezAguiar Profile Picture
    Microsoft Employee on at

    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

  • Suggested answer
    Bipin D365 Profile Picture
    28,995 Moderator on at

    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/

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 54 Most Valuable Professional

#2
11manish Profile Picture

11manish 21

#3
AT-28040446-0 Profile Picture

AT-28040446-0 13

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans