Prerequisites
A service principal with contributor rights.
An Azure Storage account could be on a different subscription.
An Azure Automation Account.
An Azure Resource Group.
The Following Azure powershell Modules should be installled on azure automation:
az.accounts
az.storage
az.apimanagement
Configuration Backup
A backup of ARM template is available for this service.
Data Backup and restore
Backing up and restoring Azure API Management to a storage account on the same or in a different subscription can be done using Azure Powershell commands. The script will run on an Azure Automation Account using Powershell modules.