private static TenantResourceExtensionClient GetExtensionClient(TenantResource tenantResource) { return(tenantResource.GetCachedClient((client) => { return new TenantResourceExtensionClient(client, tenantResource.Id); } )); }