Microsoft Azure Cloud & ARM Integration Setup Guide
Connect your Microsoft Azure subscriptions and Entra ID tenant to Valstorm so your team and AI agents can discover subscriptions and resource groups, inspect Azure resources, manage Azure DNS zones, monitor and deploy Container Apps stacks, and run guardrailed Azure Resource Manager (ARM) operations.
Before You Start
- For Organization Setup (Steps 1–3):
- You need a Microsoft Azure account with Owner or User Access Administrator permissions on the target Subscription or Resource Group (to assign Azure RBAC roles).
- For the recommended Custom Entra App Registration setup, you also need permission in Microsoft Entra ID to create App Registrations and client secrets.
- You must be a Valstorm Account Admin or a delegated Azure Organization Manager in Valstorm.
- For Personal User Setup (Step 4):
- Any Valstorm team member with a Microsoft Entra ID account and Azure RBAC access can connect their own personal Azure login under User Scope.
How Valstorm Access & Sharing Works
- Organization Scope (Multi-Credential): Save one or more labeled Azure credentials (for example,
Prod Azure Readerfor read-only visibility andStaging Contributorfor deployments). Every credential is private to the person who added it until you share it with specific Users or User Groups under Shared With.- Personal User Scope (1-Click OAuth): Individual team members can also sign in with their own Microsoft Entra ID account so Azure actions execute under their personal Azure IAM permissions.
Step 1: Set Up Azure Credentials & Assign IAM Roles
Choose one of the two Organization setup options below:
- Option A — Custom Entra App Registration (Recommended): Gives you separate least-privilege credentials per subscription, resource group, or team (e.g., Read-Only vs. Contributor).
- Option B — Quick Setup (Valstorm Default App): Simpler setup using Valstorm's built-in Microsoft Entra app (
Valstorm application) — no client secret to manage, just your Tenant ID and an IAM role.
Option A: Custom Entra App Registration (Recommended)
- Create an App Registration in Azure:
- Sign in to the Azure Portal, search for and open App registrations in the top search bar, then click + New registration.
- Fill in the fields from top to bottom:
- Name: e.g.,
Valstorm Prod ReaderorValstorm Staging Deployer - Supported account types: Keep default (Accounts in this organizational directory only — Single tenant).
- Redirect URI (optional): Leave blank.
- Name: e.g.,
- Click Register.
- Copy BOTH IDs from the Overview page:
- On the new app's Overview page, copy both:
- Application (client) ID
- Directory (tenant) ID
- On the new app's Overview page, copy both:
- Create a Client Secret:
- In the app's left sidebar, open Manage → Certificates & secrets → Client secrets tab → + New client secret.
- Enter a description (e.g.,
Valstorm Integration), choose an expiration window (Azure defaults to 6 months, max 24 months), and click Add. - Immediately copy the secret's Value (not the Secret ID) — Azure only shows the Value once.
Expiration Reminder: Set a calendar reminder to create and update your client secret in Valstorm before it expires so your Azure integration doesn't lose access.
- Assign least-privilege Azure RBAC role(s):
- From the top search bar, search for and open Subscriptions (or Resource groups to scope to a single Resource Group) and click your target item.
- In the left sidebar, open Access control (IAM) → + Add → Add role assignment.
- On the Role tab, select the role you want (see the Recommended Azure RBAC Roles table below — note Job function roles vs. Privileged administrator roles) and click Next.
- On the Members tab, click + Select members, type your new App Registration's name in the search box (Azure won't list apps until you search), select it → Select, then click Review + assign twice.
Option B: Quick Setup (Valstorm Default App)
- Assign an Azure RBAC role to
Valstorm application:- Sign in to the Azure Portal, search for and open Subscriptions (or Resource groups) in the top search bar, and click your target item.
- Open Access control (IAM) → + Add → Add role assignment, select your desired role (see the table below), and click Next.
- Click + Select members, search for
Valstorm, selectValstorm application(the Enterprise Application, not a personal email) → Select, and click Review + assign twice.
Don't see
Valstorm applicationin Azure search yet? That just means Valstorm hasn't been registered in your Entra ID tenant yet — click Connect Azure once under Command Center → Integrations → User Scope → Microsoft Azure Cloud & ARM with an Entra admin account to register it, then retry the search (you can disconnect User Scope afterward if you don't want your personal login active). - Copy your Microsoft Entra Tenant ID:
- On your Subscription → Overview page, copy the Parent management group ID — or open Microsoft Entra ID → Overview and copy Tenant ID (UUID).
- (In Step 2, paste only your Tenant ID and leave Client ID and Client Secret blank.)
Recommended Azure RBAC Roles
| Azure Built-In Role | Azure Role Category | What Valstorm Can Do With This Role |
|---|---|---|
| Reader | Job function roles | Discover subscriptions, resource groups, resources, Container Apps status/metrics, and run Resource Graph queries (strictly Read-Only). |
| DNS Zone Contributor | Job function roles | Inspect and manage Azure DNS Zones and DNS records (add/update A, AAAA, CNAME, TXT, MX records). |
| Contributor | Privileged administrator roles | Full read/write management of Azure resources, Container Apps scaling/deployments, image updates, and custom domain bindings (cannot grant IAM roles). |
Least-Privilege Tip: Scope the role assignment to a single Resource Group instead of the entire Subscription whenever teammates only need access to one environment or workload.
Step 2: Save Credentials in Valstorm (Organization Scope)
- In Valstorm, open Command Center → Integrations → Organization Scope.
- Click Microsoft Azure Cloud & ARM.
- Click Add New Credential.
- Fill in the form (in order):
- Credential Label: Give the credential a clear name describing its scope and permissions (e.g.,
Prod Azure Reader,DNS Management, orStaging Contributor). - Microsoft Entra Tenant ID: Paste the Directory (tenant) ID UUID you copied in Step 1.
- Service Principal Client ID (Optional):
- Option A: Paste the Application (client) ID.
- Option B: Leave blank.
- Service Principal Client Secret (Optional):
- Option A: Paste the client secret Value (not the Secret ID).
- Option B: Leave blank.
- Credential Label: Give the credential a clear name describing its scope and permissions (e.g.,
- Click Save.
Valstorm encrypts your credential and automatically probes Azure ARM to discover accessible subscriptions, Azure DNS zones, and live Read/Write RBAC capabilities.
Step 3: Verify & Share With Your Team
- On your newly saved credential card, click Verify to confirm live Azure connectivity and review the discovered subscriptions, associated DNS zones, and allowed AI actions.
- To grant teammates access, click Edit (or Share) on the credential card and add Users or User Groups under Shared With.
- Click Save.
Tip — Separate Read-Only and Write Access: Save a
Readercredential for broader visibility (Support, Product, Leadership) and a separateContributororDNS Zone Contributorcredential shared only with DevOps/Engineering.
Step 4: Connect Your Personal Azure Account (User Scope — Optional)
Any team member who wants Azure actions to execute under their own Microsoft Entra ID permissions can connect their personal account:
- In Valstorm, open Command Center → Integrations → User Scope.
- Click Microsoft Azure Cloud & ARM.
- Click Connect Azure and follow the Microsoft sign-in prompts.
- Once redirected back, your Microsoft account will appear as Connected.
Troubleshooting
| Issue | What to Check |
|---|---|
401 Unauthorized or token error | Confirm you pasted the client secret Value (not the Secret ID) and that the secret has not expired in Microsoft Entra ID → App registrations → Manage → Certificates & secrets. |
403 Forbidden or write actions blocked | Verify the app (or Valstorm application) has the required Azure RBAC role (Reader, DNS Zone Contributor, or Contributor) assigned on the target Subscription or Resource Group under Access control (IAM). |
| 0 subscriptions or DNS zones discovered | Ensure the role assignment was completed (Review + assign clicked twice) and assigned to the exact App Registration / Enterprise Application matching your Client ID. Wait 1–2 minutes for Azure RBAC propagation, then click Verify again. |
Valstorm application doesn't appear in Azure IAM search (Option B) | Have an Entra ID admin click Connect Azure once under Integrations → User Scope → Microsoft Azure Cloud & ARM to register Valstorm application in your tenant, then retry the IAM search. |
| Teammates cannot see Azure in Valstorm | Open the credential card under Organization Scope → Microsoft Azure Cloud & ARM, add the users or user groups under Shared With, and save. |
Need help? You can also view this guide inside Valstorm at Command Center → Integrations → Microsoft Azure Cloud & ARM → Setup Guide, or ask your Valstorm AI assistant to walk you through setting up or verifying Azure.