Get startedGet started for free

Assigning UAMI for multiple resources

1. Assigning UAMI for multiple resources

In this video, we'll see how to securely access a Storage Account using User Assigned Managed Identity, or UAMI. Let’s begin with a simple scenario. You have some data stored in a Storage Account, and both Azure Data Factory and a Logic App need to access it. Now, one option is to use System Assigned Managed Identity for each service. But that means managing permissions separately for every identity. A more efficient solution is to use a User Assigned Managed Identity. It’s reusable and simplifies access when multiple services need the same set of permissions. So, Let’s deploy a User Assigned Managed Identity. This identity is created independently and can be linked to any resource that needs it. Once deployed, it shows two key sections: Associated resources: this lists the services currently using this identity And Azure role assignments: this shows what access the identity has across different Azure resources At the moment, both sections are empty. Let’s assign this identity to our services. Starting with Azure Data Factory, open Identities and attach the identity under the User Assigned tab. We follow the same steps for Logic App as well. Now, if we head back to the identity and open Associated resources, we’ll see both services listed. This confirms that the connection is in place. Next, we’ll provide this identity access to the Storage Account. Under Access Control, we assign the Reader role. As members, we configure the User Assigned Managed Identity we just created, then review and assign. Once done, return to the identity and check Azure role assignments. You’ll see a new entry showing the granted role, its storage account scope, and that it’s linked to our identity. To wrap up, we created a reusable identity, assigned it to both ADF and Logic App, and gave it the right access to our Storage Account. And the best part? If we ever need another service to access the same data, we don’t have to redo everything. We can just tag this identity to it, and it’s ready to go.

2. Let's practice!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.