Adding an Azure account
|
|
Azure accounts cannot be edited after they are fully added (the Status is Success), but the custom name can be changed. |
To add a new Azure account:
-
Configure Azure:
-
In the Azure console, log in to your Azure subscription.
-
Create or reuse a managed identity and assign User Access Administrator and Contributor roles for the Azure subscription. Additionally, assign the Entra ID role Application Administrator to this managed identity.
This managed identity is used to deploy an ARM Template to onboard the Azure account into FortiGate CNF. Please note that the storage account (for FortiGate CNF logs) will be created in the same resource group as the managed identity.
-
-
In the FortiGate CNF console, go to Cloud Accounts.
-
Click New, then select Azure.
-
In Azure Account Name, enter a name for the account.
-
Enter the Azure Directory ID and the Azure Subscription ID.
-
Click Launch ARM Template.
The Azure portal opens.
-
Enter the Managed Identity Name and Resource Group.
-
Click Review + Create, then click Create.
The deployment script runs.
To review the template, click Download ARM Template.
The template does the following:
-
Creates a storage account for storing the FortiGate CNF logs, with write permissions for FortiGate CNF.
-
Allows FortiGate CNF access to your networks.
-
-
Click Outputs, then copy the value from spObjectId.
-
In the FortiGate CNF console, in Service Principal Object ID, enter the spObjectId value. See Service Principal Object ID.
-
Click Update.
The Azure account is added to the Cloud Accounts list with status Success.
Service Principal Object ID
The Service Principal Object ID is used by FortiGate CNF to access your Azure environment.
A FortiGate CNF Azure app registration is used for all customer environment-related operations. This app registration requires access to your Azure environment for operations such as linking load balancers and dynamic address objects.
The ARM Template creates a Service Principal in your Azure environment to provide the FortiGate CNF app registration the access required to perform these operations.