Esempio n. 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>
 public static void UpdateServicePrincipal(this IServicePrincipalsOperations operations, string servicePrincipalId, MicrosoftGraphServicePrincipal body)
 {
     operations.UpdateServicePrincipalAsync(servicePrincipalId, body).GetAwaiter().GetResult();
 }