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

In This Topic
    ClientId Property
    In This Topic
    Gets or sets 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 ClientId As String
    public string ClientId {get; set;}

    Property Value

    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