Companial
Companial is an Automatic Provider built on the Ingram Micro integration. Sync is two-way, and customers, subscriptions, provisioning, vendor requirements, retries and troubleshooting work as described on the Ingram Micro page. This page covers what is different.
| Area | Ingram Micro | Companial |
|---|---|---|
| Authentication | Subscription key | OAuth2 sign-in (user name and password, refresh token) against a Companial token endpoint, plus a subscription key |
| Scope | Scoped to one reseller | Not reseller-scoped. Customers are created and read at account level, with no reseller to select. |
| Connectivity test | Reads the reseller's customer list | Reads the reseller list |
| Create order | Standard order | Adds a vendor billing period that mirrors the subscription period |
| Order status | Standard order lookup | Two-step lookup that returns Companial's error details (see below) |
| Messages | Identified as Ingram | Identified as COMPANIAL |
Connector and provider setup
| Setting | Where | Purpose |
|---|---|---|
| Endpoint URL | Connector | Companial marketplace API base URL. Required. |
| Application ID, Application Secret | Connector | OAuth2 client credentials. Required. |
| Username, Password | Connector | Companial API user. Required. |
subscriptionKey | Provider property | Companial subscription key |
oAuthBaseUrl, consumerKey, consumerSecret | Provider property / connector | Credentials for the order status lookup. Optional, but without them order failures show less detail. |
| Token endpoint | Configured by Work 365 for the connector type | Where sign-in is performed |
If a required value is missing, the connector fails with a message such as "Companial connector requires EndPointUrl." or "Companial connector ApplicationId (client_id) is required."
Creating subscriptions
Companial rejects an order that has no vendor billing period, so Work 365 adds one to every create order, set to the same duration and type as the subscription period. Nothing else in the create flow changes: co-terming, month-end alignment, the retry without alignment, and the commitment end date refresh work as on the Ingram page.
Order status and error details
Work 365 stores the numeric order ID returned when the order is created. Companial's order status needs two lookups:
- Resolve the order ID to Companial's internal order GUID.
- Read the order by GUID. This is the only call that returns the error details explaining why an order failed or is stuck, and Work 365 shows them in the LCL's provisioning message.
Companial's statuses map to LCL behavior like this:
| Companial order status | Treated as | LCL result |
|---|---|---|
| NOT_STARTED | Submitted | Processing, retried later |
| IN_PROGRESS | Processing | Processing, retried later |
| PROBLEM | Error | Failed Provisioned, with the error details |
| COMPLETED | Completed | Provisioned |
| CANCELED | Cancelled | <confirm: LCL result> |
| Any other value | Error | Failed Provisioned |
When the detailed lookup isn't available
Work 365 falls back to the standard Ingram order lookup, which doesn't include error details, when any of these happens:
oAuthBaseUrl,consumerKeyorconsumerSecretisn't set- The first lookup finds no order
- The first lookup fails
If the second lookup (by GUID) fails, the error is raised instead of falling back. To get Companial's error messages on failed orders, add the three order status settings above.
Capabilities not available for Companial
Legacy subscriptions, subscription name changes, upgrades, term changes and trial management aren't available for Companial.
Troubleshooting
| Message or symptom | Cause | Fix |
|---|---|---|
| Companial connector requires TokenUrl. | Token endpoint isn't configured for the connector type | Contact Work 365 support |
| Companial connector requires EndPointUrl. | Endpoint URL missing on the connector | Add it |
| Create order rejected with a validation error | Vendor billing period missing from the order | Contact Work 365 support (added automatically) |
| LCL fails with no reason shown | Order status settings not configured | Add oAuthBaseUrl, consumerKey, consumerSecret |
| LCL stuck in Processing | Order still NOT_STARTED or IN_PROGRESS at Companial | Wait for the retry, or check the order in Companial |
Updated about 1 month ago
