Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

MVC App + Client Secret Connection String

Posted on by 676

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.

  • kokane Profile Picture
    kokane on at
    RE: MVC App + Client Secret Connection String

    Have you checked the doc?

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

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: MVC App + Client Secret Connection String

    Hi,

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

    Please mark my answer verified if i were helpful

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 Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans