---
title: Give ISOPlanner read-only access to Azure
description: "How a cloud administrator gives ISOPlanner read-only access to Azure without a secret: what is created, every permission and five routes."
---

[Skip to content](https://docs.isoplanner.app/azure-access#main-content)

[![ISOPlanner 2000x500 transparent no shadow](https://docs.isoplanner.app/hs-fs/hubfs/ISOPlanner%202000x500%20transparent%20no%20shadow.png?width=200&height=50&name=ISOPlanner%202000x500%20transparent%20no%20shadow.png)](https://isoplanner.app)

Open main navigation

Close main navigation

 How can we help you?

- There are no suggestions because the search field is empty.

1. [ISOPlanner](https://docs.isoplanner.app/)
2. [Automated Control Monitoring](https://docs.isoplanner.app/automated-control-monitoring)
3. [Microsoft Azure](https://docs.isoplanner.app/automated-control-monitoring#microsoft-azure)

# Give ISOPlanner read-only access to Azure

## What ISOPlanner can read in your Azure, and five ways to set up the access without a secret.

 The Microsoft Azure checks of ISOPlanner read how your Azure is configured: whether databases are closed to the internet, whether Key Vaults are protected, whether logs are kept long enough and whether keys and secrets have end dates. For that, ISOPlanner needs read-only access to your Azure. This article is for the cloud administrator who sets up that access, and for the colleague who asks for it. It says exactly what ISOPlanner gets, every permission and why it is needed, what ISOPlanner cannot do, and how to set the access up, change it or remove it.

> **In short:** a colleague who uses ISOPlanner sends you a setup link. The page it opens needs no ISOPlanner account and generates everything for your organization. You create three things in your own Azure: a user-assigned managed identity, a federated credential on it that trusts only the tokens ISOPlanner signs for your organization, and a custom role with read actions only. There is no app registration, client secret, certificate or password. You choose how: a Cloud Shell script, the Azure portal by hand, Deploy to Azure, Terraform or Bicep, or an AI assistant. You paste two ids back on the setup page and ISOPlanner tests the access. Deleting the identity ends it.

### Before you start

- The Microsoft Azure checks are part of automated control monitoring, in the Business and Premium subscriptions of ISOPlanner. Your colleague adds the Microsoft Azure app in **Administration \> Store** and needs a licensed manager or administrator role in ISOPlanner to ask for the access.
- You, the cloud administrator, need the setup link. It is valid for 7 days, and only the newest link works.
- You need Owner on the subscription ISOPlanner should check: creating a custom role and assigning it takes those rights. You do not need an ISOPlanner account.
- For the script and the AI assistant: Azure Cloud Shell, or a terminal with the Azure CLI signed in. For Terraform: Terraform with the azurerm provider. For Bicep: the Azure CLI.

### 1. Ask for the access in ISOPlanner

This step is for the colleague who sets up the Azure checks in ISOPlanner.

1. Go to **Administration \> Settings \> Automation**, open the tab **Control monitoring** and click the card of one of the Microsoft Azure checks.
2. Under **Authorization** click **Set up**. The **Azure access** dialog opens. Under **Also ask access for other checks? (optional)**, keep the Azure checks you may turn on later, so your cloud administrator sets up the access once.
3. Write a note under **Note for your cloud administrator (optional)** if you like: it is shown on the setup page, plain text, at most 500 characters.
4. Click **Create setup link**, then **Copy** or **Share by email**, and send the link to your cloud administrator.

![The Azure access dialog: the access state, the other Azure checks to ask access for and a note for your cloud administrator](https://docs.isoplanner.app/hs-fs/hubfs/KB%20articles/azure-connect-f983633e.png?width=560&name=azure-connect-f983633e.png)

 A new link replaces the current one, and the current link then stops working. Under **Access to your Azure** the dialog shows how far the setup is; see "What your colleague sees in ISOPlanner" below.

### 2. Review the request

 The setup link opens a page with three steps: **Review the request**, **Create the access** and **Paste the result**. The first step shows who asked, the note, and the checks ISOPlanner will run every day; the permissions behind them are listed under the checks. Not sure the request is real? Ask the colleague who sent it, or check that the page is on the ISOPlanner address the page names. For an approver, **For your security review** opens one page with what is created, the exact read actions, the data flow and how to remove the access, to copy into an email or download.

#### What ISOPlanner gets

Every route creates the same three things in your Azure, here with example names; the setup page shows yours:

| What is created | What it is |
| --- | --- |
| Resource group `rg-isoplanner` | Holds the identity, the only resource the setup puts in a resource group. In the portal you may use an existing resource group instead. |
| User-assigned managed identity `id-isoplanner-contoso` | The identity ISOPlanner signs in as. You create it and you own it. It is not an app registration and has no client secret, certificate or password. |
| Federated credential `isoplanner` on that identity | The trust: Azure accepts a sign-in as this identity only with a token ISOPlanner signed for your organization. |
| Custom role `ISOPlanner reader (Contoso)`, assigned to the identity | Read actions only: no write, delete or action permissions, no data actions, no wildcards. It is defined on the subscription and assigned on the subscription, or on the resource groups you choose. |

#### How the trust works without a secret

 When ISOPlanner tests the access or runs a check, it signs a token that is valid for 5 minutes, with a signing key that never leaves ISOPlanner's Key Vault. Microsoft Entra ID checks that token against the federated credential and only then gives out a token for your identity. The federated credential matches three values exactly, including upper and lower case:

| Field | Value |
| --- | --- |
| Issuer | `https://api.isoplanner.app/oidc` |
| Subject | `isoplanner:azure:<your organization id>`: one subject per ISOPlanner organization, so another ISOPlanner customer can never sign in as your identity, even with its ids. |
| Audience | `api://AzureADTokenExchange`, the Azure default. |

The setup page shows the exact subject for your organization. Every sign-in by ISOPlanner shows in Entra ID \> Sign-in logs \> Managed identity sign-ins.

#### Every permission, and why ISOPlanner reads it

 The role holds only the read actions below, and only those of the checks your colleague asked for. An action that several checks need is in the role once. With all four checks, the role has 17 read actions: 3 to connect and 14 for the checks.

| Check (part) | Read action and why |
| --- | --- |
| Always needed to connect | `Microsoft.Resources/subscriptions/read`, `Microsoft.Resources/subscriptions/resourceGroups/read`: which subscriptions and resource groups the identity can read. `Microsoft.Authorization/permissions/read`: the identity's own permissions, so ISOPlanner knows which parts of each check it can run (also used by the activity log part of Logs). |
| Databases (SQL) | `Microsoft.Sql/servers/read`, `Microsoft.Sql/servers/administrators/read`: the Azure SQL servers and whether public network access is on (the server list includes the Entra administrator setting). `Microsoft.Sql/servers/firewallRules/read`: which addresses a server is open to. |
| Databases (PostgreSQL, MySQL) | `Microsoft.DBforPostgreSQL/flexibleServers/read`, `Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/read`, `Microsoft.DBforMySQL/flexibleServers/read`, `Microsoft.DBforMySQL/flexibleServers/firewallRules/read`: the flexible servers, public network access and firewall rules. |
| Key Vaults; Secrets | `Microsoft.KeyVault/vaults/read`: the vaults, whether they use Azure roles and whether purge protection is on. |
| Logs | `Microsoft.Insights/diagnosticSettings/read`: where the subscription, SQL servers and web apps send their logs. `Microsoft.OperationalInsights/workspaces/tables/read`: how long a Log Analytics workspace keeps them. `Microsoft.Sql/servers/auditingSettings/read`: whether SQL auditing is on (Azure SQL servers are read with the two SQL server actions above). `Microsoft.Web/sites/read`: the web apps whose HTTP logs the check looks for. |
| Secrets (keys, secrets) | `Microsoft.KeyVault/vaults/keys/read`, `Microsoft.KeyVault/vaults/secrets/read`: the names, enabled state and end dates of keys and secrets. Never the key material or a secret value. |

#### What ISOPlanner cannot do

- It cannot create, change, delete, start or stop anything in your Azure: the role has no write, delete or action permission.
- It cannot read your data: no rows in your databases, no files, no log contents, no key material, no secret values. Keys and secrets are read only as names and attributes.
- It cannot give itself more access. Only you can change the role or its assignment.
- It holds no secret, certificate or password for your Azure, so there is nothing of yours to leak or rotate.
- It cannot sign in as your identity for another organization: the subject in the trust is yours alone.

#### You can leave reads out

 Every read action is one line in the generated script, role or template, with a comment naming its check. Delete a line and ISOPlanner does not get that read. ISOPlanner checks what it can read and reports the rest as not checked, for example **Not checked: PostgreSQL. No read access.** A part of a check, such as PostgreSQL under Databases, counts as readable only when all of its actions are in the role. Your colleague is told what ISOPlanner could not check.

### 3. Create the access

#### Where may ISOPlanner read?

Before the routes, choose the scope and click **Use this choice**; every route is then made for it.

| Choice | What it does |
| --- | --- |
| **The whole subscription** | The role is assigned on the subscription. Every resource group is checked, also ones created later. |
| **Only these resource groups** | You list the resource group names, one per line, at most 50. The role is assigned on each group, not on the subscription. A new resource group is not checked until your colleague sends a new setup link that adds it, and the activity log of the subscription cannot be checked. You still need Owner on the subscription: the role is defined there. |

#### Choose your route

All five routes create the same thing, and all material is generated for your setup link, so you can read all of it before you run it.

| Route | Suits you when |
| --- | --- |
| **Cloud Shell** | You want it done in one go: read the script, paste it into Azure Cloud Shell. Bash or PowerShell. |
| **Azure portal** | You do not run scripts, or want to see every screen. Six steps by hand. |
| **Deploy to Azure** | You want the portal to show every resource before it creates it, from one template. |
| **Terraform / Bicep** | You manage Azure as code and want the access in your own repository. |
| **AI assistant** | You work with an AI assistant in your terminal and want it to do the steps one by one, with your approval. |

 Use one route for the setup and for later changes. The portal gives the role an id of its own, while the other routes give it the same fixed id; mixing them stops on an error (see "RoleDefinitionWithSameNameExists" below).

#### Cloud Shell

1. Open Cloud Shell (Bash) as an Owner of the subscription.
2. Read the script on the setup page, about one page of plain Azure CLI. Each line says which check it is for.
3. Copy it, paste it into Cloud Shell and press Enter. It ends by printing the lines for step 4 below.

 The script starts with the settings you may change (the subscription Cloud Shell is on, the scope, the resource group, the region `westeurope`, the identity and role names), then the trust, which you do not change, then the read actions, one per line. It creates the resource group and the identity, adds the federated credential, creates the role or updates it in place, assigns it, and prints six lines: `TENANT_ID`, `CLIENT_ID`, `IDENTITY`, `RESOURCE_GROUP`, `ROLE` and `SCOPE`. It is safe to run again, every command names the subscription so your default does not change, and the role steps retry for about a minute while Azure publishes a new role. On your own machine, download it and run `bash isoplanner-<organization>.sh` with the Azure CLI signed in, or download the `.ps1` file for PowerShell.

#### Azure portal

 The setup page shows the six steps with a screenshot each and your organization's names with copy buttons; the example names are used here.

1. Choose a resource group, or create `rg-isoplanner` in West Europe (optional: any existing resource group works).
2. Create the managed identity: Managed Identities \> + Create, resource group `rg-isoplanner`, name `id-isoplanner-contoso`, region West Europe.
3. Let the identity trust ISOPlanner: on the identity, Settings \> Federated credentials \> + Add Credential, scenario Other. Fill in the issuer URL, the subject identifier and the name `isoplanner` from the setup page, leave the audience at `api://AzureADTokenExchange` and select Add.
4. Create the read-only role: on the subscription, Access control (IAM) \> + Add \> Add custom role, name `ISOPlanner reader (Contoso)`. On the JSON tab select Edit, replace `"actions": []` with the read actions from the setup page, save, then Review + create and Create.
5. Give the identity that role: Access control (IAM) \> + Add \> Add role assignment, the role, then Managed identity \> + Select members \> User-assigned managed identity, the identity, and Review + assign twice. With **Only these resource groups**, do this in each listed resource group, and not on the subscription.
6. Copy the two ids: the Client ID on the identity's Overview, and the Tenant ID on the Overview of Microsoft Entra ID.

Set it up in the portal? Then make later changes in the portal too.

#### Deploy to Azure

 The setup page shows an Azure Resource Manager template for your link in full. Read it; the **Deploy to Azure** button opens the Azure portal with exactly that file. The portal shows every resource before it creates it. When the deployment is done, open Outputs and copy `PASTE`, or `TENANT_ID` and `CLIENT_ID`. The file is served from an address of your setup link and stops working when the link expires or is replaced. To leave a read out, remove its line from the template before you deploy.

#### Terraform / Bicep

 The setup page generates `main.tf` for Terraform (azurerm provider), and `main.bicep` with `identity.bicep` for Bicep. Each starts with the settings and the read actions, one per line with its check. Terraform: run `terraform apply -var subscription_id=<your subscription id>`, then `terraform output -raw paste`. Bicep: run `az deployment sub create -l westeurope -f main.bicep`; its outputs are what you paste. Both give the role the same fixed id as the script and the template, so you can move between those routes for the same role name.

#### AI assistant

 The setup page generates a brief for an assistant you trust, such as one that runs Azure CLI commands in your terminal. The brief lists exactly what to create and tells the assistant to create or update only that, with steps that are safe to run again; not to create an app registration, client secret, certificate or password; not to add permissions; to give you commands you can read before you run them, one step at a time; to stop and ask when a step fails; and to print the six lines to paste at the end. Check what the assistant proposes against the brief before you approve a command.

### 4. Paste the result and test the access

 No route reports back to ISOPlanner by itself. In **Paste the result**, paste what your route printed: the six lines of the script, Terraform, Bicep or the AI assistant, the `PASTE` output of Deploy to Azure, or after the portal the **Tenant ID** and **Client ID**. Only those two ids are required; ISOPlanner keeps the other lines so that later update material uses your names. Then click **Test access**. ISOPlanner signs in as the identity and reads what the role allows.

| The page shows | Meaning |
| --- | --- |
| **Azure is applying the access** | Azure is still putting the trust and the role in place, which can take a few minutes. While the page is open, ISOPlanner tests again every 10 seconds, for up to 15 minutes. |
| **ISOPlanner can read your Azure** | Done. The page shows the identity, the subscriptions it reads and any parts it could not check. Your colleague is told. You can close the page. |
| **ISOPlanner could not read your Azure with this access** | The page names the reason, such as a trust that does not match. See the questions below, fix it and click **Test again**. |
| **ISOPlanner has a problem on its own side** | The failure is not in your Azure. ISOPlanner has been alerted; your setup does not need to change. |

### What your colleague sees in ISOPlanner

Under **Access to your Azure** in the **Azure access** dialog:

| State | Meaning |
| --- | --- |
| Not set up | ISOPlanner cannot read your Azure yet. Create a setup link. |
| Waiting for setup | The setup link is with your cloud administrator. |
| Applying | The setup has reported back and Azure is putting the access in place, for up to 15 minutes. |
| More access needed | A check needs reads the role does not have yet. Send a new setup link; your cloud administrator sees exactly which reads are missing. |
| Setup failed | ISOPlanner could not read your Azure with the access that was set up. |
| Access revoked | The access was removed in Azure. The Azure checks report "not connected" until it is set up again. |
| A problem on ISOPlanner's side | Not caused by your setup; nothing needs to change in your Azure. |

### Change or remove the access later

#### ISOPlanner needs more, or less

 When your colleague turns on a check the role does not cover, or wants other resource groups read, they click **Manage access** and **Send a new setup link**. That page keeps the identity and its trust and changes only what differs. Run the same route again: the script, the template and Terraform or Bicep update the role in place; in the portal you edit the role's actions on its JSON tab. To narrow the access yourself, delete lines from the generated material and run it again, or remove actions from the role. ISOPlanner reports the parts it can no longer read as not checked.

#### Remove the access

1. Delete the managed identity. New sign-ins stop at once; an Azure token ISOPlanner received just before can work until it expires, at most about an hour.
2. Delete the role assignment (Access control (IAM) \> Role assignments on the subscription or the resource groups), then the custom role.
3. Delete the resource group only when it was made for ISOPlanner alone.

 With Terraform, run `terraform destroy`. Deleting only the federated credential also ends the access. ISOPlanner notices at its next test or run: the access shows Access revoked, your colleague gets one email, and the Azure checks report "not connected" instead of results.

### Questions and troubleshooting

#### A step fails right after the role was created or changed

 Azure can take about a minute to show a new or changed role by name. The script retries for about a minute, and the script, Terraform and Bicep assign the role by its id. If you assign the role by hand right after creating it, wait a minute and search again.

#### RoleDefinitionWithSameNameExists

 A custom role name can exist only once in your directory. The portal gives a role an id of its own; the script, Deploy to Azure, Terraform and Bicep give it a fixed id made from the subscription and the role name. When the role was made in the portal and you run another route with the same role name, or the other way round, Azure refuses. Keep using the route that made the role, delete the existing role first (after removing its role assignment), or give the other route a different role name in its settings.

#### This is not your organization's own Entra tenant. Is that correct?

 The tenant you pasted is not the one your organization signs in to ISOPlanner with. That is fine when your Azure lives in another tenant: click **Yes, test access**; your colleague sees which tenant it is. If you copied the wrong id, click **Change it**.

#### The access identity has no trust that matches ISOPlanner's issuer, subject and audience exactly

 One of the three values of the federated credential differs from the setup page, often by a missing character or a different case. Correct or add the credential again with the values copied from the setup page, and click **Test again**.

#### The access identity cannot read any subscription

 The role or its assignment is missing, or it is on another subscription. Check Access control (IAM) \> Role assignments for the identity and the role. The activity log part of Logs needs the role on the subscription itself, not only on resource groups.

#### There is no access identity with the client id that was entered

 The client id or the tenant id is not the one of the identity you created, or the tenant id does not exist. Copy the Client ID from the identity's Overview and the Tenant ID from Microsoft Entra ID, and paste them again.

#### Another identity was already pasted through this link

 A setup link accepts one identity, the first one pasted, so a link in the wrong hands cannot point your organization at another Azure. Pasting the same identity again is fine. To use another identity, ask your colleague for a new link.

#### This setup link has expired, or has been replaced

 A link works for 7 days, and a newer link replaces the old one. Nothing changed in your Azure. Use the newest link, or ask your colleague for a new one.

#### Access to Azure can't be set up on this ISOPlanner environment yet

 The ISOPlanner environment your organization uses cannot sign tokens for Azure yet, so there is no setup link and the Azure checks cannot read anything. Contact ISOPlanner support.

#### Does ISOPlanner store a secret, and how do I revoke the access?

 ISOPlanner stores no client secret, certificate or password for your Azure: the federated credential trusts tokens it signs for your organization, each valid for 5 minutes. To revoke the access, delete the managed identity; see "Remove the access" above.

### Related articles

- [Automated Control Monitoring](https://docs.isoplanner.app/automated-evidence-collection): how control monitoring works, the trial and the price
- [Microsoft Azure: databases are not open to the internet](https://docs.isoplanner.app/azure-databases)
- [Microsoft Azure: Key Vaults are locked down](https://docs.isoplanner.app/azure-key-vaults)
- [Microsoft Azure: logs are kept](https://docs.isoplanner.app/azure-logs)
- [Microsoft Azure: secrets and keys do not expire unnoticed](https://docs.isoplanner.app/azure-secrets-expiry)
- [Store](https://docs.isoplanner.app/store)

- [Getting Started](https://docs.isoplanner.app/getting-started)
- [Administration Menu](https://docs.isoplanner.app/administration-menu)
- [Main Concepts](https://docs.isoplanner.app/main-concepts)
- [Common Elements](https://docs.isoplanner.app/common-elements)
- [Automated Control Monitoring](https://docs.isoplanner.app/automated-control-monitoring#main-content)

    - [Hubspot](https://docs.isoplanner.app/automated-control-monitoring#hubspot)
    - [Gitbhub](https://docs.isoplanner.app/automated-control-monitoring#gitbhub)
    - [Cloudflare](https://docs.isoplanner.app/automated-control-monitoring#cloudflare)
    - [Microsoft Intune](https://docs.isoplanner.app/automated-control-monitoring#microsoft-intune)
    - [Microsoft Entra](https://docs.isoplanner.app/automated-control-monitoring#microsoft-entra)
    - [Microsoft Azure](https://docs.isoplanner.app/automated-control-monitoring#microsoft-azure)
    - [Microsoft Secure Scores](https://docs.isoplanner.app/automated-control-monitoring#microsoft-secure-scores)
    - [Microsoft Entra ID](https://docs.isoplanner.app/automated-control-monitoring#microsoft-entra-id)
    - [SSL Labs](https://docs.isoplanner.app/automated-control-monitoring#ssl-labs)
- [AI in ISOPlanner](https://docs.isoplanner.app/ai-in-isoplanner)
- [Apps & Add-ins](https://docs.isoplanner.app/apps-add-ins)
- [Developer](https://docs.isoplanner.app/developer)
- [Power BI](https://docs.isoplanner.app/power-bi)
- [Power Automate](https://docs.isoplanner.app/power-automate)
- [Videos](https://docs.isoplanner.app/videos)
- [Release Notes](https://docs.isoplanner.app/release-notes)
- [Transition Guides](https://docs.isoplanner.app/transition-guides)
- [FAQ](https://docs.isoplanner.app/faq)
- [Webinars](https://docs.isoplanner.app/webinars)

[![ISOPlanner 2000x500 transparent no shadow](https://docs.isoplanner.app/hs-fs/hubfs/ISOPlanner%202000x500%20transparent%20no%20shadow.png?width=200&height=50&name=ISOPlanner%202000x500%20transparent%20no%20shadow.png "ISOPlanner 2000x500 transparent no shadow")](https://docs.isoplanner.app/)

[mailto:support@isoplanner.app](mailto:support@isoplanner.app) <https://www.linkedin.com/company/isoplanner/>

Copyright © 2026, ISOPlanner