How to Create a User-Managed Identity & assign to Key Vault , Service Bus by Bash Script

Emran Hossain 195 Reputation points
2023-10-11T09:58:54.86+00:00

0

I am facing some problem to create a Bash Script regrading conditions & I am not work not enough in Bash . Please someone help to do this task

I have a 3 Environment in Azure like Test , Dev & Stage . I want to create user-managed Identities those 3 environment at the same same by bash Script . I want to assign user-managed Identity to Key Vault, App services , Service Bus & Event Hub by Basg

For Example: Test Tenant id : 7a610d29-a29a-4833-b40c-27b6120c3c57 Dev Tenant id : b6fc9b56-eb3d-4768-92e7-81ac62f8a7d1 Stage Tenant Id: 88501bf2-52be-46fd-b4d6-61967b489177

Someone help me to get of this task .

Thanks Emmi

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,216 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,145 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,082 questions
{count} votes