/// <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> public static ProblemDetails InitializeTenant(this IClaimsService operations, string tenantId, Body body) { return(operations.InitializeTenantAsync(tenantId, body).GetAwaiter().GetResult()); }