DeviceIdManager.RegisterDevice Method (Guid, Uri)

 

Updated: November 29, 2016

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,
	Uri issuerUri
)

Parameters

applicationId
Type: System.Guid

ID for the application

issuerUri
Type: System.Uri

URL for the current token issuer

Return Value

Type: System.ServiceModel.Description.ClientCredentials

ClientCredentials that were registered

The issuerUri can be retrieved from the IServiceConfiguration interface's CurrentIssuer property.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: