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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

MVC App + Client Secret Connection String

(0) ShareShare
ReportReport
Posted on by 680

Hi Experts,

We have an MVC app that is connecting to CRM. The AuthType it uses is Office365 and I need to replace it with ClientSecret. I updated the connection string, tested the new connection string using XRM Toolbox (created new connection using Client ID/Secret) and I was able to retrieve data in CRM. When I ran the MVC app, it fails to connect to CRM. I have already updated the .Net Framework to 4.8. Is there anything else I missed to check?

Thanks in advanced.

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Could you please share error details to check this issue further?

    Please mark my answer verified if i were helpful

  • kokane Profile Picture
    on at

    Have you checked the doc?

    docs.microsoft.com/.../use-connection-strings-xrm-tooling-connect

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Pallavi Phade Profile Picture

Pallavi Phade 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans