Skip to main content
Connect your Microsoft Azure subscription to Annie to unlock real-time infrastructure mapping, monitoring, and dependency insights—using Azure-native security primitives with service principal authentication.
Security First: All the roles listed below provide read-only access to your infrastructure. Anyshift cannot access secrets, passwords, API keys, or any other sensitive data stored in your Azure subscription.

Required Roles and Permissions

Setup Options

View all permissions that Anyshift uses for comprehensive infrastructure scanning:

Compute Resources

  • Microsoft.Compute/virtualMachines/read
  • Microsoft.Compute/virtualMachineScaleSets/read
  • Microsoft.Compute/disks/read
  • Microsoft.Compute/diskEncryptionSets/read
  • Microsoft.Compute/availabilitySets/read

Network Resources

  • Microsoft.Network/virtualNetworks/read
  • Microsoft.Network/networkInterfaces/read
  • Microsoft.Network/networkSecurityGroups/read
  • Microsoft.Network/publicIPAddresses/read
  • Microsoft.Network/loadBalancers/read
  • Microsoft.Network/privateDnsZones/read
  • Microsoft.Network/applicationGateways/read
  • Microsoft.Network/azureFirewalls/read
  • Microsoft.Network/virtualNetworkGateways/read
  • Microsoft.Network/dnszones/read

Storage Resources

  • Microsoft.Storage/storageAccounts/read
  • Microsoft.Storage/storageAccounts/blobServices/read
  • Microsoft.Storage/storageAccounts/blobServices/containers/read
  • Microsoft.Storage/storageAccounts/fileServices/read
  • Microsoft.Storage/storageAccounts/fileServices/shares/read
  • Microsoft.Storage/storageAccounts/queueServices/read
  • Microsoft.Storage/storageAccounts/tableServices/read

Container Resources

  • Microsoft.ContainerService/managedClusters/read
  • Microsoft.ContainerService/managedClusters/agentPools/read
  • Microsoft.ContainerRegistry/registries/read

Identity & Authorization

  • Microsoft.ManagedIdentity/userAssignedIdentities/read
  • Microsoft.Authorization/roleAssignments/read
  • Microsoft.Authorization/roleDefinitions/read

App Service & Serverless

  • Microsoft.Web/sites/read
  • Microsoft.Web/serverfarms/read
  • Microsoft.Web/sites/functions/read

Databases

  • Microsoft.Sql/servers/read
  • Microsoft.Sql/servers/databases/read
  • Microsoft.Sql/servers/elasticPools/read
  • Microsoft.DocumentDB/databaseAccounts/read
  • Microsoft.Cache/redis/read

Messaging & Events

  • Microsoft.ServiceBus/namespaces/read
  • Microsoft.ServiceBus/namespaces/queues/read
  • Microsoft.ServiceBus/namespaces/topics/read
  • Microsoft.EventHub/namespaces/read
  • Microsoft.EventHub/namespaces/eventhubs/read

Other Resources

  • Microsoft.KeyVault/vaults/read
  • Microsoft.OperationalInsights/workspaces/read
  • Microsoft.ApiManagement/service/read
  • Microsoft.Insights/alertRules/read
  • Microsoft.Insights/diagnosticSettings/read
  • Microsoft.Resources/subscriptions/read
  • Microsoft.Resources/subscriptions/resourceGroups/read

Setup Guide

We are working to add support for Azure Managed Identity.This will allow you to grant Anyshift access without managing client secrets, using Azure’s native identity capabilities with Workload Identity Federation.Stay tuned for updates!

Troubleshooting

Common Issues

Status shows “Error” after adding credentials This typically means the service principal doesn’t have the required permissions. Verify that:
  1. The Reader role is assigned at the subscription level
  2. The credentials (Tenant ID, Client ID, Client Secret) are correct
  3. The client secret hasn’t expired
No resources showing up
  1. Ensure the service principal has access to the correct subscription
  2. Check that resources exist in the subscription
  3. Allow a few minutes for the initial scan to complete
Multiple subscriptions Anyshift automatically discovers and scans all subscriptions accessible by the service principal. Assign Reader role at the Management Group level to cover all subscriptions you want to track - no need to create separate credentials for each subscription.

Try Anyshift

Start mapping your Azure infrastructure today!