Published:
Oct 19, 2026
|
Last updated:
Oct 19, 2026
|
12
min read

How to Back Up and Restore Entra ID Configurations: Methods, Best Practices, and Videos

Sharon Breeze
Sharon Breeze is CoreView’s Manager of Sales Engineering (EMEA), bringing more than six years of engineering and architectural experience to enterprise SaaS management. A former Solution Architect, she focuses on Microsoft 365 environments, ServiceNow integrations, and Least Privilege Access. She has co-authored technical assessments on Microsoft 365 security and enterprise cyber resilience.

Entra ID configurations determine how identities, applications and access work across your environment. Compare different backup approaches and their limitations, explore best practices, and learn about configuration recovery.

Executive summary

Microsoft Entra ID configurations underpin identity and access across an organization’s environment. Accidental changes, deletion, or malicious activity can therefore create security and operational problems that data backup alone can’t solve.

Some organizations turn to native, open-source, scripted, or manual approaches to protect Entra ID configuration, but each comes with meaningful limitations. This article compares those options, outlines best practices for using them, and explains what reliable recovery involves. It also shows how CoreView Configuration Resilience provides the most complete solution for Entra ID configuration backup and recovery.

Why Entra ID configuration backup and recovery are critical

Configuration backup protects the rules and settings that help Microsoft Entra ID control identity and access across an organization.

Microsoft Entra ID configurations govern how identities, applications, and other resources access an organization’s environment. Within a tenant, settings such as Conditional Access policies, authentication controls, service principals, directory roles, and PIM permissions shape how that access works.

In my experience, many organizations neglect to protect those configurations. They have their disaster recovery strategy in place; they’ve got their data and identity backed up. But configuration protection has never really been on their radar. That often proves to be a big mistake.

Organizations can spend years refining their configurations. Over time, these settings can drift away from the intended state through planned changes, mistakes, and malicious activity. If you’ve had a tenant for a long time, the chances are you’ve spent years tweaking those settings to get them right. But if they change or disappear, would you know what the correct state was and how to get back to it?

It doesn’t take a major incident for a configuration change to cause a real problem. A change to a Conditional Access Policy, for example, could block key users or administrators from signing in. A PIM setting could be weakened, removing an approval step or allowing privileged access to last longer than intended. Or an enterprise app could be given additional Microsoft Graph permissions, giving it access it shouldn’t have.

In each case, the challenge is the same: work out what changed, find the state you want to return to, and restore or reapply it without causing another problem.

Protecting Entra ID configuration therefore involves both preserving previous states and having a reliable way to take action when something goes wrong. That’s why configuration backup and recovery are both critical.

Configuration backup creates a record administrators can refer back to, while recovery helps return affected settings to a known-good state. Together, those capabilities can strengthen disaster recovery planning and support governance, compliance, and auditing.

You’ll find a broader exploration of identity protection, tenant management, and recovery within the Entra environment in CoreView’s guide to managing, securing, and backing up Entra ID.

Entra ID configuration backup options: a comparison

Several native, open-source, scripted, or manual approaches exist for capturing Entra ID configuration. However, they all have meaningful limitations, often addressing only part of the problem while leaving administrators responsible for additional scripting, storage, monitoring, maintenance, or recovery work.

The table below compares each of these options, outlining the potential advantages and trade-offs to consider.

Option What it offers What to bear in mind Best fit
Microsoft Entra Backup and Recovery Automatic daily backups, comparison reports, and recovery for supported objects and properties. Keeps up to seven days of backup history. Recovery is limited to the properties Microsoft supports; it isn’t a full rollback of every tenant setting. Recovering supported Entra objects within a short time window.
Tenant Configuration Management Snapshots, baselines, and drift monitoring for supported resources. Snapshots are retained for seven days, so download anything you need to keep. You’ll still need to check coverage and plan how to act on any drift. Teams that want configuration baselines and drift monitoring and can manage the process around them.
Entra Exporter Exports Entra configuration to JSON files that can be stored in version control. Check what’s included in the export you run. Some objects aren’t included by default, and an export doesn’t automatically give you a restore process. Teams that want a historical record and have the skills to manage exports and recovery.
PowerShell + Microsoft Graph Lets teams choose what to capture and how often. Your team owns the scripts, permissions, storage, monitoring, and recovery logic – and needs to maintain them. Teams with scripting expertise and specific requirements.
Microsoft365DSC Supports configuration-as-code, including exporting, comparing, and applying supported Microsoft 365 settings. Requires PowerShell DSC expertise and ongoing maintenance. Check support for the resources you need. Teams that already have configuration-as-code skills and processes.
Manual documentation Provides a simple written reference for key settings. It can quickly become out of date and won’t detect changes or restore settings for you. Very small or low-complexity environments, as a supplement to other controls.
CoreView Configuration Resilience Combines Microsoft 365 configuration backup and restore with baselines, drift monitoring, and change visibility. Check that the workloads and settings you need are covered, and test the recovery process. Organizations looking for configuration management and recovery across multiple Microsoft 365 workloads or tenants.

‍

Product scope and availability can change. Check the current documentation for supported settings, prerequisites, and retention before deciding which approach to use.

Here’s a closer look at some of the benefits and limitations of each approach.

Microsoft Entra Backup and Recovery

Microsoft Entra Backup and Recovery is the most straightforward Microsoft-native option, with automatic daily backups, a user interface, and recovery for supported objects and properties. Its main constraints are the seven-day backup history and the fact that administrators still need to work within Microsoft’s supported object and property coverage.

In my experience, Entra Backup and Recovery is easier to use than some of Microsoft’s earlier approaches, but it still comes with trade-offs around retention and the work involved in comparing previous states.

Microsoft Tenant Configuration Management

Microsoft Tenant Configuration Management provides Microsoft-native snapshots, baselines, and drift monitoring across supported resources. This can help organizations identify when settings have moved away from an intended state.

However, it’s primarily designed for configuration management and drift detection rather than conventional backup and recovery. As a more technical approach, Microsoft Tenant Configuration Management can also be difficult to set up and maintain, particularly when teams rely on scripts and specialist knowledge.

Custom PowerShell and Microsoft Graph

Custom PowerShell and Microsoft Graph give organizations flexibility over which configurations they capture and how the process runs, but that flexibility creates a substantial ownership burden.

Your team is responsible for the scripts, permissions, scheduling, error handling, and recovery logic, while Microsoft platform changes can mean updating or rewriting scripts over time. In practice, this isn’t an easy process: it requires the right technical knowledge and resources and can be difficult to delegate effectively.

Entra Exporter

Entra Exporter is an open-source PowerShell module that provides a more structured way to export Entra configuration to JSON than building the export logic yourself. Those files can support version control and historical comparison.

However, Entra Exporter is primarily an export mechanism rather than a complete recovery platform. Organizations still need to decide where the exports are stored, how often they run, how previous versions are managed, and how the saved configuration will be reapplied if recovery is required.

Microsoft365DSC

Microsoft365DSC uses configuration-as-code to capture supported Microsoft 365 settings and maintain a desired configuration state. That gives technically capable teams more control over comparison and deployment, but it also introduces the complexity of operating a configuration-as-code framework and maintaining the supporting PowerShell environment.

I’ve seen technically capable customers struggle with Microsoft’s earlier DSC approach despite investing substantial time and resources in it. That earlier implementation isn’t identical to Microsoft365DSC today, but it illustrates the skills and operational commitment these approaches can require.

Manual documentation

Some organizations still document configurations in spreadsheets or Word documents and review them periodically. It can appear straightforward because it requires little specialist tooling, but records quickly become difficult to keep accurate as settings change.

As organizations add more tenants and configurations, the workload becomes increasingly impractical. A further limitation is that spreadsheets and documents provide no automated snapshots, change detection, or direct recovery mechanism, leaving teams to maintain and interpret everything manually.

6 best practices for Entra ID configuration backup

If you rely on native, open-source, or DIY backup options, you need to account for their limitations as part of your wider protection strategy. Here are six best practices to follow.

What to back up first

If you’re not sure where to start, begin with settings that could block access, weaken security controls, or change what an application can do. Check whether your chosen approach captures these settings, and whether it can restore them.

  • Conditional Access policies
  • Authentication methods and MFA settings
  • PIM role settings
  • Directory role assignments
  • Service principals
  • App consent and Microsoft Graph permissions
  • Authorization policies
  • External collaboration settings
  • Cross-tenant access settings
  • Security defaults

Coverage varies between tools, so don’t assume that a setting is recoverable just because it appears in an export. Check which properties are captured and how you’d put them back.

1. Prioritize breadth of coverage

Many backup approaches only protect a subset of configurations, so start by checking exactly what your chosen method captures.

In my view, breadth of coverage matters more than anything. There can be thousands of configurations in a tenant, and changes to any of them can affect the environment or its security. At the same time, some configurations are more important than others, so I recommend paying particular attention to high-impact areas such as Conditional Access, PIM settings, and authorization policies and permissions while still covering as much of the wider environment as possible.

Coverage becomes even more important when organizations have multiple environments that need to remain consistently configured. It’s worth remembering that many of those settings are in place for security reasons, so keeping environments aligned matters for both consistency and protection.

2. Retain useful configuration history

A single configuration snapshot only tells you what the environment looked like at one point in time.

If your chosen approach has a short native retention period, make sure you understand how far back you can go and whether additional exports or version-controlled snapshots are needed to create a more useful historical record.

That history becomes particularly important when an unwanted change isn’t discovered immediately. A longer record gives administrators more context when they need to identify when a configuration changed and which previous state is appropriate to return to.

3. Monitor configuration changes and drift

Backup gives you a previous state, but it doesn’t necessarily tell you when the live environment has moved away from the state you intended.

That’s why drift is such an important part of the picture. Some approaches only create the backup itself and don’t actively look for configuration changes.

A useful configuration-protection process should therefore help answer:

  • What changed and when?
  • Was the change expected?
  • Does the current tenant still match the intended configuration?
  • Which earlier state should be used if recovery is required?

Looking for drift manually is difficult too, particularly as the environment grows.

4. Choose an approach your team can maintain

A backup approach can work technically and still be difficult to operate over time.

Custom scripts and other specialist approaches need ongoing maintenance as Microsoft changes APIs, retires functionality, or introduces new configuration areas. They can also be difficult to delegate if only a small number of highly technical administrators understand how they work.

The size and technical resources of the organization therefore matter when assessing any approach. Consider who will maintain it, whether the team has the required skills, and whether routine work can be delegated safely rather than remaining with a small specialist group.

5. Plan for scale across multiple tenants and environments

The more complex the environment, the harder manual configuration protection becomes.

Some organizations have multiple tenants because of acquisitions, data-sovereignty requirements, or separate production and test environments. The work involved increases quickly as the number of environments grows.

Organization size and complexity should therefore influence the level of backup, monitoring, and recovery capability required. If multiple environments need to stay consistent, the process needs to support that without multiplying manual effort at the same rate.

There can already be thousands of configurations in a single environment. Once multiple tenants are involved, trying to monitor and back them up manually becomes increasingly impractical.

6. Test your recovery process

You should test your recovery process before you need it. Check what your chosen approach can actually restore, how your team will identify the right historical state, and how long it will take to return affected configurations to that state.

Recovery testing can also expose gaps in the backup process because it shows whether the right configurations have been captured and whether the team can use them as intended. Identifying those issues early gives you a chance to widen coverage, clarify responsibilities, and simplify the process before you need to rely on it during an incident.

At a glance... 6 best practices to help you make sure you can recover your tenant

‍

Entra ID configuration recovery: what you need to know

Configuration backup is just one part of the story. You need somewhere you can go back to if somebody changes something accidentally or if a bad actor makes changes. That’s why recovery is just as important as backup.

Entra ID configuration recovery involves returning affected Entra ID settings to a known-good state using an appropriate historical reference point. This means having more than a snapshot of your configuration, though. You also need enough information to identify the right state and a reliable way to restore the affected settings.

A usable recovery process needs to show you what’s changed and help you identify the configuration state you want to return to. It also needs to give you a practical way to restore that state.

In practice, this requires three core capabilities:

  1. A usable previous state: the backup needs to include the configuration that was affected
  2. Visibility into what changed: administrators need enough comparison, change, or drift information to identify the right state to return to
  3. A practical recovery mechanism: the team needs a reliable way to restore or reapply the affected configuration

Recovery also depends on whether the affected configuration was captured in the first place. The broader the backup coverage, the more likely it is to include the setting you need. Protecting a wider range of settings therefore increases the likelihood that the right configuration will be available when something goes wrong.

Recovery speed matters, too. Once you’ve identified the correct state, your team needs to be able to restore the affected configuration quickly and reliably. The goal is to reduce the time between identifying an unwanted change and returning the environment to a known-good state.

A quick step-by-step guide to help manually recover configurations

‍

What recovery looks like in practice

When something changes unexpectedly, I’d work through these steps before restoring anything:

  1. Identify the change. Check alerts, audit records, drift reports, or user reports to understand what happened.
  2. Confirm what’s affected. Pin down the policy, object, or setting and who or what depends on it.
  3. Find the right previous state. Compare the current configuration with a known-good version.
  4. Check what else could be affected. Look at linked groups, exclusions, role assignments, and app permissions before making a change.
  5. Restore or reapply the setting. Use the recovery option available for that configuration, or reapply it through the appropriate administrative tool.
  6. Test the result. Check sign-in, access, policy behavior, and application functionality.
  7. Record what you did. Document the change, recovery steps, and test results for audit and incident review.

Where CoreView fits in Entra ID configuration backup and recovery

Each of the options above handles part of the job of backing up your Entra ID configurations. Full and confident recovery needs all three pieces in one place: the previous state, the change that moved you away from it, and a safe way back. CoreView Configuration Resilience is built around that sequence.

Back up configuration across Microsoft 365, not just Entra ID. Conditional Access, PIM, authentication methods, and app permissions sit alongside Intune, Defender, Exchange, and Teams settings, with history kept beyond a 5 to 7-day window.

See every change and who made it. Each change shows the before and after values and the admin, app, or script that made it, so you know whether it was planned before you act.

Measure against a baseline. Compare the tenant with CIS benchmarks or your own standard.

Restore one setting without touching the rest. Return a single policy or property to its known-good state, with an approval step before anything changes in production.

Keep multiple tenants aligned. Hold every tenant to the same policies as a reference tenant and catch differences as they appear.

Across our customers we see hundreds of configuration changes a day in a typical tenant. A backup tells you what used to be there. Configuration Resilience tells you what changed, whether it should have, and lets you put it back.

Not sure how healthy your Microsoft 365 tenant really is?

Get a clearer view of your security gaps, configuration risks, and recovery readiness with CoreView’s Microsoft 365 Security Gaps Assessment.
Get the assessment

FAQs

What’s the difference between Entra ID configuration backup and recovery?

Configuration backup creates a record of your Entra ID settings at a particular point in time. Recovery, on the other hand, is the process of using that record to return affected settings to a known-good state. A useful backup strategy therefore needs to support both reliable capture and practical restoration.

Does Microsoft automatically back up Entra ID configurations?

Microsoft backs up some Entra ID configurations through Microsoft Entra Backup and Recovery. However, the service only protects supported directory objects and properties, so it doesn’t provide complete tenant-wide configuration backup and recovery. Organizations still need to consider coverage, retention, change visibility, and recovery requirements.

Can I export Microsoft Entra ID configuration with PowerShell?

Yes, you can export Microsoft Entra ID configuration with PowerShell using Entra Exporter. The Microsoft-maintained module exports supported Entra configuration to local JSON files, which organizations can then store in version control to maintain a historical record.

How do I restore an Entra ID configuration from a backup?

How you restore an Entra ID configuration depends on the backup method you use. You need a usable previous state, enough visibility to identify the right configuration, and a reliable way to restore or reapply it. CoreView Configuration Resilience brings those elements together with backup, change monitoring, drift detection, and restore capabilities.

What should an Entra ID configuration backup include?

An Entra ID configuration backup should capture as much important tenant configuration as possible, including Conditional Access policies, authentication settings, service principals, directory roles, and PIM controls. Check exactly what your chosen method covers, because broader coverage improves the chances of recovering the configuration you need.

Get a personalized demo today

Created by M365 experts, for M365 experts.