We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
postman.setEnvironmentVariable("xero-tenant-id", data[0].TenantId);
Should be
postman.setEnvironmentVariable("xero-tenant-id", data[0].tenantId);
Fails to set the Tenant ID otherwise.