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.Graph.RBAC.Models.ServicePrincipalObjectResult> GetServicePrincipalsIdByAppIdAsync (this Microsoft.Azure.Graph.RBAC.IApplicationsOperations operations, string applicationID, System.Threading.CancellationToken cancellationToken = default);
static member GetServicePrincipalsIdByAppIdAsync : Microsoft.Azure.Graph.RBAC.IApplicationsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Models.ServicePrincipalObjectResult>
<Extension()>
Public Function GetServicePrincipalsIdByAppIdAsync (operations As IApplicationsOperations, applicationID As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServicePrincipalObjectResult)

Parameters

operations
IApplicationsOperations

The operations group for this extension method.

applicationID
String

The application ID.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to