DeviceIdManager.RegisterDevice Method (Guid, String, String)


Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Registers the given device with Live ID

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)


public static ClientCredentials RegisterDevice(
    Guid applicationId,
    string deviceName,
    string devicePassword
Public Shared Function RegisterDevice (
    applicationId As Guid,
    deviceName As String,
    devicePassword As String
) As ClientCredentials


  • applicationId
    Type: System.Guid

    ID for the application

  • deviceName
    Type: System.String

    Device name that should be registered

  • devicePassword
    Type: System.String

    Device password that should be registered

Return Value

Type: System.ServiceModel.Description.ClientCredentials

ClientCredentials that were registered

See Also

RegisterDevice Overload
DeviceIdManager Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright