Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Secure Application model with the MS Dynamics SDK

Posted on by 170

Hi,

I want to implement the Secure application model in C# to further integrate with the SDK.

Is it possible to use the security application model for accessing the SDK (Microsoft.CrmSdk.CoreAssemblies 9.0) ?

I have already done integration with this SDK, but now I need the authentication via the secure app model.

As per my understanding, the secure app model uses the web API and not the SDKs.

Please help me with this problem.

Thanks in advance.

  • MSCRM learner Profile Picture
    MSCRM learner 170 on at
    RE: Security Application model with the MS Dynamics SDK

    Hi Nathan,

    Thank you for your reply.

    My requirement is to implement the Secure App model in C# by using the SDK assemblies (Microsoft.CrmSdk.CoreAssemblies 9.0) and it's classes.

    I am not sure whether it is possible.

  • Suggested answer
    sdfasdf Profile Picture
    sdfasdf 840 on at
    RE: Security Application model with the MS Dynamics SDK

    Hi,

    I'm not sure if I fully understand your requirement, but it seems to me you want to authenticate to the API using the OAuth protocol? OAuth authentication is the one that requires an app registration in order to work.

    Please refer to these articles:

    docs.microsoft.com/.../authenticate-oauth

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

    PS: you can using the SDK assemblies to authenticate with OAuth using connection strings as per the above article.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans