Tenant Parameter (Connect-Xero Cmdlet)
Sets the Xero organization to connect to. Can be a name or tenant ID.
Syntax
Connect-Xero -Tenant string
Data Type
cstr
Default Value
""
Remarks
Xero apps may be authorized by for multiple organizatins at once. By default the cmdlet will connect to the first available tenant. To control which organization your are connected to, set this option.
This option can be set to either the name of your organization or to the tenant ID. If you have multiple organizations with the same name, then you must use the tenant ID. You can find the tenant ID by connecting with this option unset and then querying the Tenants view.