private GraphApiClient(string tenant, IAuthProvider authProvider) { if (string.IsNullOrWhiteSpace(tenant)) { throw new ArgumentNullException(nameof(tenant)); } _authProvider = authProvider; Tenant = tenant; BaseUrl = GraphLiteConfiguration.TenantGraphApiBaseUrl(Tenant); Reporting = new ReportingClient(this); }