Provisioning
The MSP wants to configure the way customer tenants are created in Acronis.
Preconditions
The MSP has enabled the CyberApp.
Basic flow
The MSP can configure the following:
New customer tenants mode dropdown with 2 values:
Trial
Production (default)
Create accounts based on dropdown with 2 values:
Company’s primary contact (default)
Company name
Two-factor authentication checkbox (default: unselected)
The MSP changes the options (if necessary) and saves the changes.
Post conditions
Depending on the combination of the options above, the associated Acronis tenant and user accounts are created by the CyberApp using Acronis public API as follows:
The customer tenant will be created with the POST /tenants endpoint.
Depending on New customer tenants mode, the pricing mode of the tenant will be set using the PUT /tenants/{tenant_id}/pricing endpoint.
Depending on Two-factor authentication, the two-factor authentication setting will be set using the PUT /tenants/{tenant_id}/mfa/status endpoint.
Account is created based on the Company’s primary contact. The login user info for the new customer tenant will be set to match the first user of the mapped customer in PSA system:
User login is set to the PSA user’s first name.
User email is set to PSA user’s email.
First name is set to PSA user’s first name.
Last name is set to PSA user’s last name.
After the tenant is created, the account is created with the POST /users endpoint.
The CyberApp can activate the created account by setting the user’s password or by sending an activation email to the user’s email.
If enhanced security mode is:
- ONOnly encrypted backups will be allowed.
- OFFAll backups will be allowed.
API endpoints
Create tenant
- The value of kind attribute defines the tenant type:
customer
partner
folder
unit
Note
"settings": {"enhanced_security": false}
Tenant billing mode (trial or production)
2FA / MFA
Create a user for a tenant
Set user roles
Activate a user by one of activation types