ApplicationsOperationsExtensions.GetServicePrincipalsIdByAppIdAsync Method

Definition

Gets an object id for a given application id from the current tenant.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalObjectResultInner> GetServicePrincipalsIdByAppIdAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IApplicationsOperations operations, string applicationID, System.Threading.CancellationToken cancellationToken = default);
static member GetServicePrincipalsIdByAppIdAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IApplicationsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalObjectResultInner>
<Extension()>
Public Function GetServicePrincipalsIdByAppIdAsync (operations As IApplicationsOperations, applicationID As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServicePrincipalObjectResultInner)

Parameters

operations
IApplicationsOperations

The operations group for this extension method.

applicationID
String

The application ID.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to