Authenticate users in Dynamics 365 for Customer Engagement apps
Applies to Dynamics 365 for Customer Engagement apps version 9.x
Dynamics 365 for Customer Engagement apps support three security models for authentication: claims-based authentication, Active Directory authentication, and OAuth 2.0. The type of authentication used depends on the type of deployment your application is accessing (Online, on-premises, or internet facing deployment) and if your application is using the Web API or the Organization Service.
In addition to using the correct security model, applications must establish a communication channel with the Dynamics 365 for Customer Engagement web services on the target deployment. The SDK run-time assemblies use Windows Communication Foundation (WCF) technology to establish this communication channel.
The SDK assemblies simplify use of WCF technology and claims-based authentication by providing helper proxy classes that make it easy to write applications that connect to and authenticate with the Dynamics 365 for Customer Engagement web services. By using these helper classes in your application, you can access any Dynamics 365 for Customer Engagement apps deployment using the same code and you don’t have to become an expert in claims-based security or WCF programming.
In This Section
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.