Редактиране

Споделяне чрез


Recover a deleted dashboard in the Azure portal

If you're in the global Azure cloud, and you delete a published (shared) dashboard in the Azure portal, you can recover that dashboard within seven days of the delete.

Important

If you're in an Azure Government cloud, or if the dashboard isn't published, you can't recover a deleted dashboard.

Follow these steps to recover a published dashboard:

  1. From the Azure portal menu, select Resource groups, then select the resource group where you published the dashboard. (The default resource group is named dashboards.)

  2. Under Activity log, expand the Delete Dashboard operation, then select the Delete Dashboard item underneath it. If you don't see this operation, try changing the Timespan filter to a longer duration.

  3. Select the Change history tab, then select <deleted resource>.

    Screenshot showing the Change history tab for a deleted dashboard in the Azure portal.

  4. In the Old value pane, select and copy the full contents. Paste this content into a text file saved with a .json file extension. The portal can use this JSON file to recreate the dashboard.

    Screenshot of the JSON representation of a deleted dashboard in the Azure portal.

  5. From the Azure portal menu, select Dashboard, then select Upload.

    Screenshot of the Upload dashboard option in the Azure portal.

  6. Select the JSON file you saved. The portal recreates the dashboard with the same name and elements as the deleted dashboard.

  7. Select Share to publish the dashboard and reestablish the appropriate access control.

    Screenshot of the Share option for dashboards in the Azure portal.