Global Variables

Global variables are key-value pairs that can be used to store additional information for All Tenants. These are applied to templates in standards using the format %variablename%. If a tenant has a custom variable with the same name, the tenant's variable will take precedence.

These variables can be used in any type of template and will be replaced automatically.

Tenant custom variables can be set in the Edit Tenant #Custom Variables box, shown while editing a Tenant. Global variables are set on the Global Variables tab under Tenant Administration > Administration > Tenants.

Automatically Replaced Variables

The following variables will be automatically replaced by CIPP:

  • %initialdomain%

  • %tenantfilter%

  • %tenantid%

  • %tenantname%

Reserved Variables

The following variables are reserved and will not be used:

  • %cippurl%

  • %cippuserschema%

  • %defaultdomain%

  • %partnertenantid%

  • %programdata%

  • %programfiles%

  • %programfiles(x86)%

  • %samappid%

  • %serial%

  • %systemdrive%

  • %systemroot%

  • %temp%

  • %userdomain%

  • %username%

  • %userprofile%

  • %windir%


Feature Requests / Ideas

We value your feedback and ideas. Please raise any feature requests on GitHub.

Last updated

Was this helpful?