Skip to content
PagesManage protected tenants
On this page

Manage protected tenants

One Revert deployment protects one or more Microsoft Entra External ID tenants. This page covers adding a tenant (onboarding), setting its own protection, rotating its certificates and removing it (offboarding), all on the dashboard's Tenants and Operations pages.

How protection is organized#

Your plan sets how many tenants one deployment can protect: Starter 3, Standard 5, Enterprise unlimited (see Plans and tenant limits). All tenants in a deployment share its storage, Key Vault, jobs, backup schedule, deletion protection, deployment-wide alert email and default RPO and retention. Each tenant's recovery points are kept under its own tenant ID, so tenants never mix.

Each tenant has its own:

  • Two app registrations in the External ID tenant: Revert-Backup-ReadOnly, with read-only Microsoft Graph permissions, for backups and comparisons, and Revert-Restore-ReadWrite, for restores and certificate rotation.
  • Two certificates, one per app, in the deployment's Key Vault.
  • Optional protection settings: its own RPO, retention and an extra alert recipient.

The dashboard's sign-in application, Revert-WebUI (<web app name>), lives in your workforce tenant (the one that holds the Azure subscription). Onboarding adds it to the External ID tenant as an enterprise application, when that tenant's administrator consents to it acting on their behalf.

There is no way to pause protection for one tenant. To stop protecting it, offboard it.

Onboard a tenant#

Onboarding runs in your browser. You sign in to the External ID tenant once; Revert then creates the two app registrations, grants their permissions, issues their certificates and runs a first backup.

Before you onboard#

You need:

  • A Microsoft Entra External ID tenant (an external tenant). Onboarding refuses a workforce tenant and an Azure AD B2C tenant, before it creates anything in them.
  • The Admin role on the dashboard. Without it the page shows "Requires the Admin role."
  • An administrator account in the External ID tenant that can create app registrations and grant tenant-wide admin consent to Microsoft Graph application permissions. Because the restore app requests RoleManagement.ReadWrite.Directory, this in practice needs the Privileged Role Administrator or Global Administrator role. Microsoft documents the roles that can consent in Grant tenant-wide admin consent to an application. Either kind of account works: one of that tenant's own administrators, or a workforce account added to the tenant as a guest and given the role there. It can differ from the one you use for the dashboard.
  • Room in your plan. Configuration > Plan shows how many tenants are protected against your limit. At the limit, Onboard is disabled with "Plan limit reached — see above." See Where the limit comes from.
  • Contact with the licensing service within the last 30 days. See Licensing and activation.

The permissions each app receives are listed in Permissions.

Onboarding steps#

  1. In the dashboard, go to Manage > Tenants.
  2. Under Add tenant, enter the tenant's domain (for example contoso.onmicrosoft.com) or its tenant ID in Tenant (domain or GUID). Enter one tenant: common, organizations and consumers are refused, because any account of any tenant can sign in through them, and so is anything that is not a domain or a tenant ID. The tenant you sign in to the dashboard with is refused too: it is not an External ID tenant. Any other tenant that is not an External ID tenant is refused after you sign in to it (step 5).
  3. Select Onboard.
  4. When the browser redirects to Microsoft sign-in, choose the administrator account for that External ID tenant (its own administrator, or your guest account in it) and accept the consent prompt. The page returns to the dashboard and continues on its own, as the account you chose. The only accounts it uses for the tenant are one you choose at this prompt and one you already chose for this tenant earlier in the same browser session, which it uses again without asking. The page remembers the account you chose for each tenant for the rest of the browser session, so a reload keeps using it. It never falls back to the account you are signed in to the dashboard with: that account is used only when it is the one you chose, for example as your guest account in the tenant. To use another account instead of the one chosen earlier, select Sign in to <tenant> with a different account when the page offers it (see If onboarding stops). The account you replace that way is not used for the tenant again during the browser session unless you choose it again at the prompt.
  5. Watch the progress bar (Information, Consent, Applications, Credentials, Initial backup, Complete) and the checklist under the form:
    • Load the permission manifest
    • Sign in to <tenant> and consent to Graph access. Once you are signed in, the page reads the tenant's type and continues only for an External ID tenant. The step then shows the tenant's name and ID followed by "an External ID tenant". Check that they are the tenant you meant to onboard.
    • Create the backup app (read-only) and restore app (read-write), or adopt existing apps with those names (see If onboarding stops)
    • Grant their Microsoft Graph application permissions. No separate admin consent is needed in the Microsoft Entra admin center afterwards.
    • Issue certificates inside Key Vault: one per app, valid for 24 months
    • Attach the public certificates to the apps
    • Commit the tenant and start a validation backup

Only the public certificates pass through your browser. The private keys are read only by the deployment's jobs identity when a job signs in to the tenant; the dashboard itself cannot read them. Key Vault does not renew these certificates automatically, so plan to rotate them before they expire.

Verify onboarding#

When the last step finishes, the page shows "Validation backup started — watch the job. The first recovery point appears on the Overview when it completes."

  1. Select watch the job and wait for the Backup job (an on-demand backup of every onboarded tenant) to show Completed.
  2. On Overview, check that the tenant appears in the Tenant protection table with a last backup time, and on Recovery points, that it has a recovery point.

If the page shows Validation backup not started., the tenant is saved but no backup ran. Select Run backup on Recovery points to confirm its access works.

If onboarding stops#

Signed in, but no Microsoft Graph token could be obtained for <tenant> as <account>. You came back from Microsoft sign-in, but the account could not be used for that tenant. The page stops here instead of sending you to sign in again. Nothing has been created in the tenant yet. Select Sign in to <tenant> with a different account and choose a Global Administrator of that tenant, or select Onboard to try again with the account picker.

The Microsoft Graph token returned for <tenant> was issued for a different tenant. Microsoft sign-in returned access to a tenant other than the one you entered, so the page did not use it and nothing was created. Selecting Onboard again would reuse the same account, so select Sign in to <tenant> with a different account and choose an administrator account of the tenant you entered.

Insufficient privileges to complete the operation. (or another refusal from Microsoft Graph) The account you chose is signed in but cannot do what onboarding needs. Select Sign in to <tenant> with a different account and choose an account with the roles in Before you onboard. The same button appears when Microsoft Graph's refusal stops onboarding with a message of its own, such as one saying an app's owners could not be read or removed. If the run had already changed the tenant, the page also shows what it removed or left in place (see Onboarding rolled back below) and which owners it removed. Read each of those notices and select Understood on it. Until you do, Onboard, Offboard… and Sign in to <tenant> with a different account are unavailable, because starting a run or signing in again removes the notices from the page.

The button names the tenant it signs in to, which is the tenant that failed. Entering a different tenant in Tenant (domain or GUID) removes it.

Microsoft sign-in to <tenant> was refused. Microsoft sign-in sent back an error instead of signing you in, for example because the account you chose has no access to that tenant, or because the consent prompt was declined. The page shows Microsoft's message as the reason the run stopped, and the run changed nothing in the tenant. Where another account can help, select Sign in to <tenant> with a different account to choose again; otherwise check the tenant and select Onboard. The rest of the dashboard keeps working.

The sign-in to <tenant> did not finish. You left the sign-in page before signing in. Select Onboard again. If you were choosing a different account, nothing ran as the account you were replacing: select Sign in to <tenant> with a different account again to choose one.

Onboarding <tenant> did not finish. You left its sign-in page without finishing and came back much later, so the run was not resumed and nothing changed in the tenant. The tenant is already entered: select Onboard to start again. If you were choosing a different account, select Sign in to <tenant> with a different account instead.

The sign-in page for <tenant> did not open, so nothing was signed in to. The browser did not reach Microsoft sign-in in time, so the run stopped and nothing changed in the tenant. Select Onboard again. If you were choosing a different account, select Sign in to <tenant> with a different account instead.

This is not an External ID tenant. The tenant you signed in to is a workforce tenant or an Azure AD B2C tenant; the message names it and its type. Revert protects External ID tenants only, so onboarding stopped right after the sign-in and created nothing in the tenant. Check what you entered in Tenant (domain or GUID): a domain verified in your workforce tenant leads there. In the Microsoft Entra admin center, switch to the external tenant, copy its Tenant ID from its Overview page, enter it and select Onboard.

Couldn't confirm this is an External ID tenant. Onboarding could not read the tenant's type, or Microsoft Graph answered without one, so it stopped before creating anything in the tenant. It continues only in a tenant it has confirmed. When the read failed, Microsoft Graph's own message comes first. If Microsoft Graph refused the account, the page offers Sign in to <tenant> with a different account: choose an administrator of the tenant who can accept the consent prompt. Otherwise select Onboard to try again.

<tenant> is the tenant you sign in to this dashboard with, not an External ID tenant to protect, so nothing was signed in to. You entered the dashboard's own tenant. Enter the domain or tenant ID of the External ID tenant you want to onboard.

Couldn't look up the tenant ID of <domain>, so nothing was signed in to. The domain is not a Microsoft Entra tenant, or the lookup did not answer. Check the domain and try again, or enter the tenant ID instead.

Enter the tenant as its domain (for example contoso.onmicrosoft.com) or its tenant ID (a GUID). What you entered is not one tenant (for common, organizations or consumers the page says so by name). Nothing was started; correct it and select Onboard.

Offboarding shows the same sign-in messages, with the same Sign in to <tenant> with a different account; it asks you to confirm the offboarding again before you sign in. After The sign-in to <tenant> did not finish, nothing has been deleted; select Offboard… again.

Existing app found — check its credentials. An app registration with a Revert name already exists in the tenant (as it does when you onboard a tenant again). Revert can adopt it, but every credential on it keeps working afterwards, with everything the app is granted. The card lists each credential and owner. Select I recognize these credentials — continue only if you recognize all of them; otherwise select Cancel onboarding and investigate the app in Microsoft Entra first.

Adoption removes the app's existing owners, because an owner can add credentials at any time, and the page lists the owners it removed. To give someone ownership back, add them deliberately in Entra ID > App registrations > Owners. Select Understood on the list to onboard or offboard again.

Revert refuses to adopt an app ("Won't adopt ...") that is not single-tenant, that has a federated credential, or whose enterprise application holds a certificate or secret. It also stops when two apps share the name: the Tenants table shows the Backup app and Restore app client IDs your deployment uses, so delete or rename the other app in Microsoft Entra, then onboard again.

Onboarding rolled back. The final step was refused, so the tenant was not saved. Objects this run created are deleted and the permissions it granted are revoked; anything that could not be undone is listed so that you can remove it by hand. Select Understood on the card to onboard or offboard again. The card names the cause:

Cause shown What to do
"The plan limit stopped this onboarding at its final step." Another onboarding took the last slot. Offboard a tenant, or contact Vambris to change plan.
"Licensing stopped this onboarding at its final step." Restore contact with the licensing service. See Licensing and activation.
"The plan limit couldn't be checked, so this onboarding stopped at its final step." Try again shortly.
"A backup or another onboarding was running, so this onboarding stopped at its final step." Wait for the running job to finish, then onboard again.

Onboarding was not started. Licensing is blocking new tenants and nothing was created. The message gives the reason.

Couldn't confirm plan capacity — check your connection and try again. The page could not read your plan, so it did not start.

For server errors such as tenant_limit_reached, see Troubleshooting.

Onboard a tenant again#

Onboarding a tenant already on the Tenants page repairs it in place, for example after a certificate has expired. It finds the existing apps (you confirm them as above), grants any missing permission, reuses valid certificates, re-enables disabled ones, replaces expired ones and keeps the tenant's protection settings.

Re-onboarding a tenant that is still listed is exempt from the plan limit and the licensing check. A tenant you have offboarded counts as a new tenant: both apply.

Per-tenant protection#

Each tenant inherits the deployment's default RPO and retention from Configuration > Protection unless you set its own:

  1. Go to Manage > Tenants.
  2. Select Settings on the tenant's row. The panel Protection for <tenant> opens.
  3. Set any of the fields below. Leave a field blank to inherit the deployment value.
  4. Select Save protection. The line In force now shows the values that apply.

Only an Admin can change these settings or see the tenant's alert recipient; other roles see the values in force. The Protection column of the Tenants table says whether a tenant uses its own values or inherits the defaults.

Setting Values Effect
Recovery point objective Inherit (every …), or every 1, 2, 4, 6, 8, 12 or 24 hours How often the tenant is backed up. Each scheduled run backs up only the tenants that are due. See Back up tenants.
Retention (days) Blank to inherit, 0 to keep forever, or from the retention floor up to 3650 How long the tenant's recovery points are kept. The panel shows the floor: the larger of the 30-day soft-delete period and the deletion protection window.
Alert email One address Adds a backup-failure alert for this tenant that emails this address, in addition to the deployment-wide alert email. See Monitoring and alerts.

Warning

Shortening retention deletes existing recovery points older than the new window, not only future ones, once they are outside the deletion protection window.

If a save is stored but cannot be applied in full, the panel shows Saved — but not everything that reads these settings is live yet. with what was and was not applied. Saving again is safe.

Recipients added by hand to Revert's action groups in the Azure portal are removed when alert settings are saved or Revert is updated; to alert more people, use a distribution list. Updates keep every tenant's protection settings. If a saved retention becomes shorter than the soft-delete period (for example, after an update lengthens it), Revert applies the soft-delete period instead, and retention saves show a warning naming the tenant.

Errors you may see when you save:

Message Cause
"rpoHours must be one of: 1, 2, 4, 6, 8, 12, 24." The RPO is not one of the offered values.
"retentionDays must be a whole number of days from 0 to 3650 (0 = keep forever)." The retention is not a whole number in range.
"retentionDays must be 0 or at least <floor> - <reason>. Nothing was saved." The retention is below the floor. Enter 0 or at least the floor.
"alertEmail is not a valid address." The address is not valid.
"Another admin changed this tenant's protection; reload to see their values. Nothing was saved." Someone saved first. Select Reload, then make your change again.

Rotate certificates#

Each tenant's apps sign in with certificates from the deployment's Key Vault. Onboarding issues them for 24 months; rotation replaces them with certificates valid for 12 months. The Certificate health card on Overview shows how close they are to expiry: Healthy, Within 90 days ("Plan a rotation") or Needs action ("Inside the alert threshold or expired"). An alert email is sent before a certificate expires, as many days ahead as Configuration > Notifications > Certificate warning threshold (days) sets (1 to 90, default 30). See Monitoring and alerts.

Before you rotate:

  • You need the Admin role.
  • The restore app's current certificate must still be valid, because the rotation signs in as the restore app to update both apps. If it has expired, onboard the tenant again instead: re-onboarding replaces an expired certificate.
  • With private networking on, a job you start from the dashboard can take up to 5 minutes to begin. See Private networking.

To rotate:

  1. Go to Manage > Operations.
  2. On the Certificate rotation row, select Rotate….
  3. In Rotate certificates, choose the Tenant and the Scope: Backup + restore apps, Backup app only or Restore app only.
  4. Type ROTATE to confirm, then select Start rotation job. The dashboard opens the job, shown on Jobs as Certificate rotation.

For each app, the job issues a new certificate, whose private key stays in Key Vault, and adds it to the app registration. It keeps the old certificate until the new one is confirmed working, then removes the old credential and disables the old certificate. If the new one cannot be confirmed, the job rolls back, so the app keeps signing in with the certificate that worked, and fails, which raises the failed-executions alert.

To verify, check that the job shows Completed on Jobs and that the Certificate health card counts the certificates as Healthy.

Offboard a tenant#

Offboarding stops protecting a tenant and frees its plan slot.

Before you offboard:

  • You need the Admin role, and an administrator account in the External ID tenant that can delete its app registrations. Offboarding signs in to the tenant to delete them.
  • Check what will happen to the tenant's recovery points (below). To keep copies outside the deployment, export them first.

To offboard:

  1. Go to Manage > Tenants and select Offboard… on the tenant's row.
  2. Read the dialog Offboard <tenant>?. It lists what happens: "Deletes its backup and restore apps in that tenant", "Disables its certificates" and how its recovery points are kept. If offboarding shortens how long they are kept, the dialog says so: "Retention will shorten to N days (from …). Recovery points older than that are deleted once past the immutable window."
  3. Select Offboard, then sign in to the tenant with its administrator account.
  4. Watch the steps: Sign in to <tenant>, Delete the backup app (read-only), Delete the restore app (read-write) and Disable certificates and remove from schedules. The page then shows "<tenant> offboarded" and how many tenants remain.

If you leave the sign-in page without finishing and open Tenants again much later, offboarding is not resumed: the page says "Offboarding <tenant> did not finish." Nothing is deleted until you start again with Offboard… on the tenant's row (or, if you were choosing a different account, Sign in to <tenant> with a different account), and both ask you to confirm first.

Offboarding:

  • Deletes the two app registrations this deployment uses in that tenant, so Revert can no longer read or change it. Other apps with the Revert names are left in place and listed for you to review.
  • Disables the tenant's certificates in Key Vault, never deletes them. A certificate that another onboarded tenant still uses stays enabled.
  • Removes the tenant from the backup schedule and removes its own alert rule.

If part of the cleanup in Azure could not be completed, offboarding still succeeds and lists what was left under "Offboarded, but some things need your attention:", with Retry cleanup (Dismiss hides it). Retry cleanup repeats only the cleanup inside the deployment; it does not sign in to the tenant or change apps or certificates.

Recovery points of an offboarded tenant#

Recovery points already taken are kept. On Recovery points the tenant appears as "<tenant ID> (offboarded)" and its rows as "offboarded · points retained". The page says "<tenant> is offboarded: browse only." and Restore and Differential are disabled: restoring or comparing needs the tenant onboarded again, which counts against your plan limit like a new tenant.

The tenant's own retention no longer applies. Its recovery points age out under the longest retention still configured (the default or any remaining tenant's), and are never deleted while any retention is 0 (keep forever). Deletion protection still applies to them.

What offboarding leaves in place#

Note

Offboarding does not remove the Revert-WebUI (<web app name>) enterprise application from the External ID tenant, or the delegated permissions an administrator consented to for it during onboarding (Application.ReadWrite.All, AppRoleAssignment.ReadWrite.All and Organization.Read.All). If you no longer need them, delete that enterprise application in the External ID tenant's Microsoft Entra admin center, under Enterprise applications.

The disabled certificates stay in the deployment's Key Vault until you remove Revert. Before you remove Revert, offboard every tenant; see Remove Revert.