Use the Azure Cloud discovery app to gain visibility into cloud resources such as Virtual machines, Disks, and more across your Azure Cloud accounts.
The Azure Cloud Discovery App discovers virtual assets across your Azure Cloud accounts and syncs them into the Freshservice CMDB, providing a single pane of glass to view and manage your cloud resources. The resources discovered today include:-
Instances (Virtual Machines)
OS Templates and Images
Networks (VPCs) and Subnets
Azure Resource Group
Azure Key Vault
Azure Application Gateway
A. Register an App for your Azure account
1. Once you login into your account on the Azure portal, navigate to search for Azure > Active Directory.
2. On the active directory page in the left side panel, go to App Registrations > New Registration.
3. Enter a suitable name for the integration and click on Register.
Note: We will be granting permissions for resources under a subscription to this app.
B. Permissions to be granted
Assign permissions for your app (created in Prerequisite A), which will be used to authenticate calls to Azure.
Go to the Azure portal, search for “Subscriptions''. Select your active subscription.
1. Click on Access control (IAM)
2. Select Role assignments
3. Click Add
4. Select Add role assignment
5. Select the role Reader
6. In the Select dropdown, search for the app name created in Prerequisite(A)
7. Click Save
Now the app will have access to the resources under your active subscription.
Key (Secret Key)
Steps to get the installation parameters:
All installation parameters can be found in the Azure portal.
Login into your account on the Azure portal
Navigate to search for Azure Active Directory.
On the active directory page, click on Overview
Copy Tenant ID in the left side panel.
Select App Registrations > Open App
Copy Application (client) ID
Navigate to App Registrations > Certificates & secrets (left panel)
Click on New client secret.
Copy Value, which is your secret key.
For the Subscription ID in Azure portal, search Subscriptions > Active Subscription > Copy Subscription ID.