dotConnect for Dynamics 365 Documentation
Devart.Data.Dynamics Namespace / DynamicsConnectionStringBuilder Class / ClientSecret Property

In This Topic
    ClientSecret Property
    In This Topic
    Gets or sets the second one of the pair of OAuth 2.0 credentials, that you can obtain when you register an OAuth application in Azure AD tenant. This parameter is used for RefreshToken authentication.
    Syntax
    'Declaration
     
    Public Property ClientSecret As String
    public string ClientSecret {get; set;}

    Property Value

    The second one of the pair of OAuth 2.0 credentials, that you can obtain when you register an OAuth application in Azure AD tenant.
    Remarks
    This parameter is optional. If you omit Client ID and Client Secret in the connection string, dotConnect for Dynamics CRM will implicitly use its own credentials for an OAuth app, registered by Devart. If you prefer to register your own app, then you need to specify these parameters.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also