Cmdlets for Xero WorkflowMax

Build 22.0.8479

TenantId Parameter (Connect-XeroWorkflowMax Cmdlet)

Xero Workflow Max Tenant ID

Syntax

Connect-XeroWorkflowMax -TenantId string

Data Type

cstr

Default Value

""

Remarks

If for any reason you are trying to use an AccessToken to authenticate you should note that the Xero authentication requires a tenant id to be passed as a header for each API Request.

Retrieve the TenantId using the GetOAuthAccessToken stored procedure.

Alternatively, you may retrieve the TenantId as follows:

  1. Create a new request in an API Development tool like Postman.
  2. Set the URL to https://api.xero.com/connections
  3. Set Authorization header to "Bearer " + access_token and finally execute the request.
  4. The response will show 1 or more connection informations to Xero.
  5. Find the connection which has "tenantType": "WORKFLOWMAX" and get its TenantId.
  6. Set this connection property to the newly acquired TenantId.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8479