Beispiel #1
0
 /// <summary>
 /// Update entity in servicePrincipals
 /// </summary>
 /// <remarks>
 /// Represents an Azure Active Directory object. The directoryObject type is
 /// the base type for many other directory entity types.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='servicePrincipalId'>
 /// key: id of servicePrincipal
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task UpdateServicePrincipalAsync(this IServicePrincipalsOperations operations, string servicePrincipalId, MicrosoftGraphServicePrincipal body, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateServicePrincipalWithHttpMessagesAsync(servicePrincipalId, body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }