/// <summary> /// Set up the initial administrator permissions for a tenant /// </summary> /// <remarks> /// Creates a resource access rule set providing access to all endpoints and a /// Claim Permission granting that access to the specified role /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='tenantId'> /// The tenant within which the request should operate /// </param> /// <param name='body'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <ProblemDetails> InitializeTenantAsync(this IClaimsService operations, string tenantId, Body body, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.InitializeTenantWithHttpMessagesAsync(tenantId, body, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }