Microsoft Azure – Using Azure Resource Manager
Last Updated :
03 Apr, 2023
In this article, let us examine how to use Azure Resource Manager(ARM). Microsoft Azure came up with the latest service that deploys & manages the development work through the code. We might have heard of IaaS, SaaS, PaaS. Similarly, Microsoft Azure introduced IaaC(Infrastructure as a Code), which allows you to describe your infrastructure in a declarative way, store it in version control and modify it in a controlled manner.
The process minimizes the manual errors, increases development efficiency in deploying and maintaining the resources, By deploying a template file, one can easily deploy complete data centers within a few minutes rather than spending a lot of time through the portal. Let us understand the working of the ARM with the Data factory.
- An ARM template is very easy to understand and work with as it uses declarative language like JSON.
- Azure bicep file(written in bicep language) is much easier to understand and work when compared to JSON. But it is in the experimental stage developed by Microsoft.

Key Terminologies
- Azure Resource: It is an entity(like VMs, SQL Dbs, Virtual Networks and Containers, etc) managed by Microsoft Azure.
- Azure Resource Group: A resource group will have ‘n’ number of resources under it. And each and every resource should belong to any of the resource groups.
- Azure Subscription: We have subscriptions or plans for DTH, Broadband, mobile recharge, etc. In the same way, Microsoft provides subscriptions to use the resources with mainly 2 types pay-as-you-go model and a Free edition(it has limited resources). There are many sub-divisions under pay-as-you-go subscription.
- Azure Key Vaults: Key Vaults play a major role in safeguarding passwords. Key vaults contain secret names in which the passwords are stored. Only the secret name is exposed and not the password.
- Azure Storage Accounts: Storage accounts are created in order to hold all the Data storage-related resources like Azure blobs, Containers, File shares, Queues.
- Azure Linked Services: These services are used like connection strings that connect to external resources.
Problem Statement
Let us consider, we need to deploy activities(here copy activity from blob to blob), from the Dev data factory to the Prod data factory.
Prerequisite: Need to create a Storage account, Db, SQL server, connection strings, key vaults, secrets, etc, for both dev and prod.
Implementation
Follow the below steps. to use an Azure Manager:
Step 1: The below image shows there are no activities in the production data factory.

iNo activity in prod data factory
The below image shows the copy activity present in the dev data factory, that needs to be deployed in the production data factory.

Simple copy activity in dev data factory
As in the below figure, click the manage icon inside the dev data factory, then click on the ARM template blade over there. If you click on the Export, the ARM template downloads in .zip format.

Export ARM template
Step 2: After extracting the zip file, we can see these four files inside it. We can make the changes if needed in the arm_template(3rd one from the top).
Step 3: From the prod data factory click on manage -> ARM template -> Import -> Build your own template in the editor(In Custom deployment window) -> Load file -> select the above arm_template file from your local machine -> click save.
Step 4:- In the next window, provide all the prod-related configurations like subscription, resource group, key vaults, region, etc.. Taking this configuration as a reference, the prod configurations reflect while deployment. Then click on review+create -> create -> it starts deploying. Finally, we can see the copy activity(as in the fig below) in the prod DF.

Prod DF with copy activity
Finally, we have learned to use the ARM template. Based on the project, the ARM template usage approach changes.
Similar Reads
Microsoft Azure - Check Resource Owner in Azure using KQL
In this article, we will see how we can find the creation date of resources by using the Kusto Query Language. Azure KQL Queries helps in finding the resource creation date, time, created user email,...etc. Note: You cannot retrieve log data if it is more than 90 days using KQL. In this case store l
2 min read
Microsoft Azure - Scaling Inventory Resources
In this article we will learn how to inventory resources at scale using the Azure Portal and the power of Azure Resource Graph. Azure has always given you a way to inventory your resources for a single subscription. Go to Azure Resource Manager, you can query and get that information. But what if yo
5 min read
Microsoft Azure - Using Cost Management in Azure Portal
In this article we will learn how to use cost management to understand your spending in the cloud, so you can do more with less. Cost management is available from any subscription or resource group within the portal. Since starting on the Azure home, the first thing that you want to do is click on t
2 min read
Microsoft Azure - New Azure Home Screen
In this article we will learn how to use the Azure Portal home page. On, the Azure Portal home page, Azure has made some updates and in the article, we are going to look through that. So when you first land on home, you will see that Azure has these multiple sections. Azure has the Azure Services, t
6 min read
Microsoft Azure - Using Azure Spring Cloud
Pre-requisite:- Azure VM In this article, we will learn how to get started with Microsoft Azure - Using Azure Spring Cloud. Azure Spring Cloud is a fully managed service that allows developers to build, deploy, and run Spring Boot applications on the Azure platform. It is designed to simplify the pr
3 min read
Microsoft Azure - Enabling Resource Providers for Azure Subscription
In this article, we will show you "How to register a Microsoft Azure Resource Provider for an active subscription in Azure Portal?". Implementation: Follow the below steps to enable resource providers for your Azure subscription: Step 1: Log in to your Azure Portal Step 2: Navigate to Subscriptions
2 min read
Microsoft Azure - Using the Azure Quickstart Centre
In this article, we will learn how to get started easily with Azure using Azure Quickstart Center. The Azure Quickstart Center is a tool in the Azure Portal to help you find the right services for you to get started in Azure with confidence. A little over a year ago Azure made the Quickstart Center
3 min read
Microsoft Azure - Azure Media Service
Azure Media Service is a cloud-based platform that enables you to build media-based solutions. Â Examples like OTT (Over-The-Top Media Service), Live Streaming Apps like Youtube, Vimeo, Facebook live stream,...etc. Encoding Videos for different formats for different platforms. Encoding Services â Ind
4 min read
Microsoft Azure - Count of Azure Resources using Resource Graph Query
Graph Query is Azure can be easier to understand if you are familiar with Querying languages like SQL. In this article, we will keep track of the Azure resources using the Resource Query graph. For this first open the Azure Resource Graph Explorer in Azure Portal to Run the following below Queries 1
3 min read
Microsoft Azure - Reduce Cost Using Virtual Machine
In this article, we will look into tips to save costs with Azure VMs. Here, we'll explore five tips that will help you to reduce the costs of your Azure VMs. Let's start by creating a VM. Here in the Azure portal, we click on "Create Resource". And then select the "Compute" category and select a "Vi
2 min read