BaseAbstractAcquireTokenParameterBuilder<T>.WithCorrelationId Method

Definition

Sets the correlation id to be used in the authentication request. Used to track a request in the logs of both the SDK and the Identity Provider service. If not set, a random one will be generated.

public T WithCorrelationId (Guid correlationId);
member this.WithCorrelationId : Guid -> 'T
Public Function WithCorrelationId (correlationId As Guid) As T

Parameters

correlationId
Guid

Correlation id of the authentication request.

Returns

T

The builder to chain the .With methods.

Applies to