ApplicationsOperationsExtensions.GetServicePrincipalsIdByAppIdAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET