Skip to main content

Get started

This guide takes you from an empty Entra ID module to your first snapshots and a first comparison. Connecting a tenant takes about 10 minutes.

Requirements​

  • A Vinera account with a Vinera Protect workspace in which the Entra ID module is turned on. Your Vinera contact opens the workspace and turns the module on for you.
  • A Microsoft Entra account that can register apps (Application Administrator or higher).
  • A Global Administrator or Privileged Role Administrator to grant admin consent.

If you also use the Microsoft 365 module, you can use one app registration for both. Add the permissions for each module to the same app.

Step 1: Register an app​

  1. Sign in to the Microsoft Entra admin center (entra.microsoft.com).
  2. Go to Identity › Applications › App registrations, then select New registration.
  3. Give the app a name you will recognize later, for example "Vinera Protect backup".
  4. Under Supported account types, choose Accounts in this organizational directory only (single tenant). Leave Redirect URI empty and select Register.
  5. On the app's Overview page, copy the Application (client) ID and the Directory (tenant) ID.

Step 2: Add Microsoft Graph application permissions​

In your app, go to API permissions › Add a permission › Microsoft Graph › Application permissions, and add the permissions below. Use application permissions, not delegated permissions: backups run without anyone signed in.

PermissionNeeded forStatus in the connection guide
Directory.Read.AllUsers, groups, apps, roles, devices and administrative unitsRequired
Policy.Read.AllConditional Access policiesRequired
AuditLog.Read.AllSign-in and audit logsRequired
DeviceManagementConfiguration.Read.AllIntune device configuration and compliance policiesOptional
DeviceManagementRBAC.Read.AllIntune rolesOptional

All five are read permissions. Entra ID backup never asks for permission to change your directory.

  1. Still under API permissions, select Grant admin consent for your organization and confirm.
  2. Every permission should now show Granted in the Status column. Without consent, the app gets no access.

Step 4: Create a client secret​

  1. Go to Certificates & secrets › Client secrets › New client secret.
  2. Pick an expiry, for example 12 or 24 months, and set yourself a reminder. Backups stop when the secret expires.
  3. Copy the secret Value right away. It is shown only once. Copy the Value column, not the Secret ID.

Step 5: Connect the tenant​

  1. In Vinera Protect, open Entra ID and select Onboard tenant.
  2. Work through Prerequisites, then under Connection choose Manual · Provide app credentials.
  3. Enter the Directory (tenant) ID, Application (client) ID and Client secret value, then select Create connection. The credentials are checked against your tenant right away, and any missing permission is listed.
  4. Under Tenant settings, select Entra ID in Services to protect, then finish Review.
  5. Progress shows each provisioning step until the tenant is active. For a tenant with only Entra ID selected, daily directory backup is turned on as part of this.

Your client secret is stored encrypted and is never shown again.

Step 6: Check the connection​

Open the tenant from the Entra ID tenants list and go to Settings. The connection card shows whether the app can get a token, whether its enterprise application exists and is enabled, when the secret expires, and which permissions are missing for which object classes. It warns you when the secret expires within 30 days.

To replace an expiring secret, create a new secret in the same app and enter it on the tenant's page before the old one expires.

Step 7: Set the backup policy​

  1. Open Policies. Each tenant has a directory backup policy.
  2. Select Change schedule to set how often it runs. Daily is the default; any interval from 1 hour to 30 days is allowed.
  3. Select Change retention to keep snapshots longer than the default of 1 year, up to 10 years. Retention can only be extended, so choose with care.
  4. To leave specific objects out of snapshots, go to Settings › Exclusions, add the object class and object ID, and select Save list. The change applies from the next directory backup.

To pause scheduled backups, select Turn off. Existing restore points are kept, and you can still run Back up now.

Step 8: Take a snapshot​

  1. On the tenant's Dashboard or under Policies, select Back up now. If a run is already in progress, the new one is queued and starts as soon as it ends.
  2. Follow the run under Activity. The dashboard then shows how many objects of each class the latest restore point holds.

Take a second snapshot later, or wait for the next scheduled run: you need two restore points to compare.

Step 9: Get data back from a snapshot​

  • Look up an object. Under Objects, pick a restore point and a class, and open the object. You see its properties and relationships as they were, for example a deleted user's job title, department, manager and licenses.
  • See what changed. Under Compare Changes, pick two restore points to see what was added, deleted or modified. Changes in the last 30 days shows each day's changes; select a bar to compare that day with the day before.
  • Check one object against today. From an object, compare it with Current directory values or with Another snapshot, property by property.
  • Keep a copy. From Objects, export a whole class from a restore point as a .zip with the objects as JSON, a schema and a README. The download link works once and expires after five minutes, and the export is recorded in the audit log.

Disconnecting​

Delete the app registration, or its secret, in Microsoft Entra ID. Backups stop at once, and existing restore points are kept for their retention period.

Next steps​