Skip to main content

ProvisionCurrentUser

Provisions the current user in a target tenant.

Examples​

Provision yourself in a target tenant with all available roles and TenantOwners group membership:

octo-cli -c ProvisionCurrentUser -ttid "customer-project"

Options​

ShortLongRequiredDescription
-ttid--targetTenantIdyesTarget tenant ID

Notes​

All admin provisioning commands must be run from the system tenant context.

Run from a context of an intermediate tenant (a cross-tenant user), the mapping is written for your home identity, so every context of yours reaches the target tenant; the output names the source tenant and user the mapping was written for.