Restore Okta Apps
Who can use this feature
Anyone with these permissions: Restore users
An app that’s deleted or changed by mistake leaves the people and groups who use it without access, and rebuilding it by hand means recreating its settings and reassigning everyone. Restoring an app from a snapshot brings back its settings and the group and user assignments it had when the snapshot was taken, so access returns without anyone reassigning it one assignment at a time.
This article explains how to restore deleted or changed Okta apps and their assignments from a snapshot, and how to read the restore report the job produces.
Restore apps
You can browse a snapshot of your Okta org and start a restore from the SaaS inventory.
Before you start
Before you restore apps, make sure:
-
An Okta restore org is connected for the Okta org the apps were backed up from.
-
The Okta org has at least one completed backup.
Select the apps to restore
-
In your SaaS inventory, click View Entities on the card of the Okta org the apps were backed up from. The page opens on the latest snapshot.
-
To restore from a different snapshot, click the snapshot date. A calendar shows a dot on each day when snapshots were taken. There can be more than one snapshot per day.
When you click a day, Eon lists the snapshots taken that day. Select the snapshot you want to restore. Changing the snapshot clears any objects you already selected.
-
Under Applications, click Applications.
-
Select the checkbox next to each app you want to restore. To find an app, enter part of its name in Search applications. Your selection stays in place when you search or move to another page.
-
To bring back an assignment to a group or user that was deleted, select that group or user too, under Groups or Users in Directory. Eon adds an assignment only when the group or user at its other end is in the Okta org after the restore.
-
In the selection bar, which shows how many objects you selected, click Restore. To start over, click Clear selection.
Choose the restore org
The Restore to Okta panel opens on the Restore Account step. Select the restore org, and then click Next.
Only the restore org connected for the Okta org the snapshot came from is available, and Eon selects it for you when there’s only one.
Start the job and monitor it
On the Review step, check the restore org and the list of objects you selected.
The notice on this step says that application secrets aren’t exported and must be entered again in Okta. It also says that restored users receive an activation email, which applies to any users you selected along with the apps.
Click Restore, then track the job from View job, or from the Restore jobs tab on the Jobs page.
Eon starts a restore job that changes only the objects you selected, and handles each app according to its state in the Okta org. For how a restore treats the objects you select, see Restore behavior. For what Eon can’t restore, see Restore support notes.
-
App that still exists: Eon changes its label and settings back to the snapshot, and activates the app if it’s inactive. It then makes the app’s group assignments, with their priority, and its direct user assignments match the snapshot’s. Assignments the snapshot holds are added, and assignments added since the snapshot are removed. An app that already matches the snapshot is reported as unchanged.
-
App that was deleted: Eon recreates it from the snapshot with a new app ID and without its credentials, and then adds its assignments.
-
App whose label another app holds: When another app that uses the same app integration has the label of the deleted app, Eon doesn’t overwrite the other app. The restore of the deleted app fails, and the result says to delete or rename the other app and restore again.
-
Assignments Eon can’t add: Eon skips an assignment when the group or user at its other end isn’t in the Okta org, or when that group’s or user’s own restore failed. The result names each skipped assignment.
When the job completes, each restored app has its settings and assignments from the snapshot, except any assignments the restore report lists as skipped. A recreated app has no credentials until you enter them again in Okta.
Read the restore report
Every Okta restore job produces a restore report, with the outcome of each object you selected.
To open the report, open the restore job from View job, or from the Restore jobs tab on the Jobs page. The Restore report section on the job page starts with the number of objects for each outcome, followed by a table with a row for each object.
The table has these columns:
-
Name: The app’s label.
-
Entity: The app’s ID in the snapshot.
-
Type: The kind of object, which is App for an app.
-
Outcome: What the restore did with the app.
-
Restored ID: The app’s ID in Okta after the restore. It differs from the Entity ID for an app that Eon recreated, in this restore or an earlier one.
-
Details: What the restore did in more detail, such as the assignments it skipped, the credentials you need to enter again, or why the app failed.
Each app carries one outcome:
-
RECREATED: The app was deleted, and Eon recreated it from the snapshot with a new ID and no credentials. -
REVERTED: The app still existed, and Eon changed its settings or assignments back to the snapshot, or activated it. -
SKIPPED_UNCHANGED: The app already matched the snapshot. -
FAILED: Eon couldn’t restore the app, and Details gives the reason, such as another app holding its label.
The job’s status shows how the restore went as a whole:
-
Complete: No selected object failed.
-
Partially complete: Some selected objects failed and the rest were restored.
-
Failed: Every selected object failed.
A skipped assignment doesn’t fail its app, so read Details even when the job is complete.