Freigeben über


ApplicationsOperationsExtensions.GetServicePrincipalsIdByAppIdAsync Methode

Definition

Ruft eine Objekt-ID für eine angegebene Anwendungs-ID vom aktuellen Mandanten ab.

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)

Parameter

operations
IApplicationsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

applicationID
String

Die Anwendungs-ID.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: