For the complete documentation index, see llms.txt. This page is also available as Markdown.

Setup: Azure Cloud

Give the Cloud scan read access to an Azure subscription by assigning reader roles to the Stoïk Cloud Scanner application.

Prerequisites

  • Servers and/or virtual machines hosted in Azure, and an administrator account.

  • A technical advisor is required for initial configuration and ongoing supervision.

  • One person does the whole setup, from start to finish: a Stoïk Protect user allowed to edit prevention tools, who is also an administrator of the Azure account. Most Azure failures come from two people splitting the flow.

  • Signed in to a single Microsoft tenant: the one to scan. If the setup is stuck, restart it in a private browser window, signed in to that tenant only.

If you only have Office 365 or Entra ID licenses, see Setup: Entra ID instead.

Setup

1

Select Microsoft Azure

  • If you haven't set a provider yet: go to Cloud Scan > Launch Cloud Scan > Azure.

  • If you already have a provider: go to Cloud Scan > Settings > New Provider > Azure.

2

Create new roles

  1. Go to the Microsoft Azure portal and log in with your administrator account.

  2. Search for Subscriptions in the search bar, then click on the subscription to scan.

  3. Click Access control (IAM) in the left menu, then click Add, then Add role assignment.

  4. Search for the Reader role, select it, then go to the Members tab.

  5. Click Select members, search for Stoïk Cloud Scanner, select it, then click Select.

  6. Click Review + assign twice to confirm.

  7. Repeat steps 4 to 6 for the Security Reader and Log Analytics Reader roles.

3

Grant permissions

  1. In the left-hand menu, go to Microsoft Entra ID > Roles and administrators.

  2. Search for the Global Reader role and click on it.

  3. Click Add assignments, search for Stoïk Cloud Scanner, select it, then click Add.

  4. Repeat steps 2 and 3 for the Security Reader role.

4

Complete setup

Click Complete setup in the Stoïk Protect console.

Refresh the Stoïk Protect page if necessary.

Several subscriptions

To scan several subscriptions, assign the three subscription roles (Reader, Security Reader, Log Analytics Reader) on each of them.

Troubleshooting

The setup failed, then worked when I retried

New roles and permissions take a few minutes to apply on Azure. Wait 5 minutes and click again.

"Some roles are not configured correctly", or the setup goes back to the start

The check expects exactly the roles above: a missing role fails, and so does an extra one. Common mistakes:

  • Permissions granted in Entra ID but roles never assigned.

  • Reports Reader added as a role: remove it.

  • Entra Backup Reader or a Global Secure Access role instead of Security Reader.

  • Monitoring Reader instead of Log Analytics Reader.

  • Roles on one subscription but not on the others.

Error messages use the English role names, even when your portal is in another language.

"Stoïk Cloud Scanner" can't be found
Policy.Read.All cannot be granted, or a permission is missing

Last updated