Udostępnij za pośrednictwem


ServicePrincipalsOperationsExtensions.Get Method

Definition

Gets service principal information from the directory. Query by objectId or pass a filter to query by appId

public static Microsoft.Azure.Graph.RBAC.Models.ServicePrincipal Get (this Microsoft.Azure.Graph.RBAC.IServicePrincipalsOperations operations, string objectId);
static member Get : Microsoft.Azure.Graph.RBAC.IServicePrincipalsOperations * string -> Microsoft.Azure.Graph.RBAC.Models.ServicePrincipal
<Extension()>
Public Function Get (operations As IServicePrincipalsOperations, objectId As String) As ServicePrincipal

Parameters

operations
IServicePrincipalsOperations

The operations group for this extension method.

objectId
String

The object ID of the service principal to get.

Returns

Applies to