Appendix 1 - Azure configuration notes
Azure permissions, objects created by Vectra, and related operational notes to help with permissions issues.
Required Permissions During Deployment
The permissions a user requires in Azure to enable this Azure Data Source (during deployment).
To grant Vectra access to your Azure tenant (Consent Workflow):
Global Administrator- Enterprise app is created that requires lower permissions for ongoing use.See permissions required post deployment below for the ongoing permissions required by the Vectra AI - CDR for Azure enterprise app.
To setup logging and grant Vectra access to the logs (Log Enablement Workflow):
These permissions are required during automated deployment and includes both executing the main deployment and remediating policies flows.
Global AdministratorResource Policy Contributorat management group levelUser Access Administratorat management group levelThis can be a temporary privilege elevation used only during the creation of Vectra resources.
These same permissions also cover Flow and DNS log coverage — no additional permission type is required during deployment, since subscriptions enabled for Flow and DNS logs must be part of the same management group used for deployment.
Permissions Required Post Deployment
These are the ongoing permissions required post deployment for this Azure Data Source.
Enterprise App / Service Principal
Role permissions defined at the Vectra specific resource group level:
Microsoft.Storage/storageAccounts/readMicrosoft.Storage/storageAccounts/blobServices/containers/readMicrosoft.Storage/storageAccounts/blobServices/containers/blobs/read
At the management group level used for deployment:
Microsoft.Resources/subscriptions/resources/read
If Flow and DNS log coverage is enabled
The enterprise app is assigned the built-in Reader role in each in-scope subscription. This role is needed for log-source discovery and to retrieve Azure resource inventory for asset enrichment, including virtual machines, network interfaces, public IP addresses, and resource tags. This inventory is retrieved through Azure Resource Manager APIs, separately from reading log data from Azure Storage.
If you have existing VNET flow logs store outside the Vectra logging resource group
You must assign the following permissions to the Vectra service principal on each destination storage account or its resource group, or move the storage accounts into the logging resource group where Vectra's log-ingestion role is assigned.
Microsoft.Storage/storageAccounts/readMicrosoft.Storage/storageAccounts/blobServices/containers/readMicrosoft.Storage/storageAccounts/blobServices/containers/blobs/read
See Use Existing VNet Flow Logs in the manual deployment page for details and storage-account move considerations.
User-Assigned Managed Identity
For resource remediation that sets logging and retention policies at the management group level:
Monitoring Contributor RoleandStorage Account Contributor RoleThis is only required for the Automated Deployment method. Manual deployment details are at the discretion of the customer.
If Flow and DNS log coverage is enabled: the built-in Network Contributor role, at the same management group level — needed to remediate flow logs and DNS Security Policy VNet links on pre-existing resources.
What Vectra Creates in Azure and Why
This applies fully to the Automated Deployment method and partially to the Manual Deployment method (only the Vectra AI - CDR for Azure enterprise app is shared with the manual deployment process)
Item
Name
How to Find (from Azure portal)
Resource Group
rg-vectra-cdr
Resource groups → Click into “rg-vectra-cdr”
Enterprise Application / Service Principal
Vectra AI – CDR for Azure
Microsoft Entra ID → Enterprise applications → search for “Vectra AI” or “CDR”
Enterprise Application / Service Principal Role
Vectra Azure CDR Connector Role Vectra Azure CDR Audit Role
Resource groups → Click into “rg-vectra-cdr” → Access control (IAM) → Roles → Search for “cdr”
User-Assigned Managed Identity
id-vectra
Resource groups → Click into “rg-vectra-cdr”
Storage Accounts
Vectra[unique_identifier] - These have 4-day retention set.
Resource groups → Click into “rg-vectra-cdr”
Resource Group
rg-vectra-dns-policy
Resource groups → Click into "rg-vectra-dns-policy" (only present if Flow and DNS log coverage is enabled)
Policy Initiatives and Policies
Vectra Initiative Manage Resource Group Vectra Initiative Collect Location Logs Vectra Initiative Collect Subscription Activity Logs Vectra Storage Account Retention Vectra Policy Collect Activity Logs Vectra Policy Collect Key Vault Logs Vectra Policy Collect Automation Account Logs Vectra Policy Collect Storage Account Blob Logs Vectra Policy Collect Storage Account File Logs Vectra Initiative Collect Flow Logs Vectra Initiative Ensure VNets Linked to DNS Security Policy for DNS Log Collection
Policy → Definitions → Search for “Vectra”
Policy Assignments
Vectra Initiative Manage Resource Group Assignment Vectra Initiative Collect Subscription Activity Logs Assignment Vectra Initiative Collect Location Logs for [location| Assignment Vectra Initiative Collect Flow Logs Assignment for [location] Vectra Initiative Link VNets to DNS Security Policy for Log Collection Assignment for [location]
Policy → Assignments → Search for “Vectra”
Enterprise Application - SP and Associated Role
Enterprise Applications and Service Principals are essentially the same thing. Typically, the term Enterprise Application is used to describe an application integration while the Service Principal is the security principal for the application that is used to grant permissions or consent to resources.
Vectra uses Microsoft’s App Registration process to instantiate a copy of Vectra AI – CDR for Azure in your directory. The Application ID of this Enterprise Application / Service Principal refers to Vectra’s App Registration which resides in Vectra’s directory. The Service Principal Object ID refers to the instantiated instance in your directory and is what Vectra refers to as the enterpriseAppPrincipalID during deployment.
This article gives details on differences between App Registrations, Enterprise Applications, and Service Principals.
Enterprise Application Name - Vectra AI – CDR for Azure
How is it created – This is created during 1. Grant Vectra Access to your Azure tenant.
Associated roles – Assigned during executing the main deployment using ARM templates.
Vectra Azure CDR Connector Roleis assigned to theVectra AI – CDR for AzureService PrincipalThe scope of the role assignment is the
rg-vectra-cdrresource group.The permissions of the role are:
Microsoft.Storage/storageAccounts/readMicrosoft.Storage/storageAccounts/blobServices/containers/readMicrosoft.Storage/storageAccounts/blobServices/containers/blobs/read
Vectra Azure CDR Audit Roleis assigned to theVectra AI – CDR for AzureService PrincipalThe scope of the role assignment is the management group used for deployment.
The permission of the role is
Microsoft.Resources/subscriptions/resources/read
If Flow and DNS log coverage is enabled, the built-in Reader role is also assigned to the
Vectra AI – CDR for AzureService Principal at the subscription level for each subscription enabled for this coverage.This read-only access supports log-source discovery and asset enrichment through Azure Resource Manager APIs.
What does the Enterprise Application / Service Principal do?
Vectra uses the Service Principal to read log data from the storage accounts created in the
rg-vectra-cdrresource group and to collect resource counts for billing.If Flow and DNS log coverage is enabled, Vectra also uses the Service Principal's subscription-level Reader access to retrieve Azure resource inventory. Information about virtual machines, network interfaces, public IP addresses, and resource tags helps associate flow and DNS activity with the Azure resources involved. These inventory reads are separate from log ingestion and do not modify your Azure resources.
Resource Group - Storage Accounts - Managed Identity
Vectra creates a resource group, storage accounts, and a user-assigned managed identity.
Resource Group - Name: rg-vectra-cdr
How it is created?
It is automatically created during executing the main deployment using ARM templates.
What does it contain?
A storage account for each location specified during the deployment and a storage account used to store subscription activity logs. These are set to have a 4-day retention period.
Name format:
vectra[unique_identifier]
User-Assigned Managed Identity
Name:
id-vectra
Why does Vectra create a storage account for each location we deployed in?
Azure requires that the diagnostic setting that writes resource logs to a storage account write to a storage account that is located in the same location as the resource.
Can the storage accounts be configured for private access?
Yes, after the main deployment runs, the storage accounts can have restrictions put in place to only allow access to them from specific IP addresses used by Vectra in the region your Vectra tenant is deployed in.
Please see Configuring Private Access for Azure Storage Accounts for details if this is required.
What is the purpose of the id-vectra managed identity?
The policy remediation tasks are run by the managed identity.
What are the scope and permissions of the id-vectra managed identity?
The scope is the management group that was selected for deployment.
The permissions are given by built-in Azure roles:
Monitoring Contributor RoleStorage Account Contributor Role
Policy Definitions, Assignments, and Remediation Tasks
Vectra uses Azure policy definitions at both the initiative and policy level along with policy assignments to enable a diagnostic setting on the supported resources. The diagnostic setting directs logs to be stored in the storage accounts so that Vectra can retrieve the logs for analysis.
Initiatives are a collection of Azure policy definitions that are grouped together towards a specific goal or purpose. Policies enforce and control the properties of a resource. Assignments are a policy definition or initiative that has been assigned to a specific scope. More information about Azure policy is available here.
The Azure policy definitions and assignments are created during executing the main deployment.
Vectra creates 2 initiative definitions:
Vectra Initiative Collection Subscription Activity Logs
Contains 1 policy definition that enables a diagnostic setting to send subscription activity logs to a storage account in the
rg-vectra-cdrresource group.All subscriptions in the management group chosen for deployment log these subscription activity logs to the same storage account in the resource group.
Policy name – Vectra Policy Collect Activity Logs
Vectra Initiative Collect Location Logs
Contains 2 policy definitions, one for each currently supported resource type, that enable a diagnostic setting to send resource logs to storage accounts in the
rg-vectra-cdrresource group.The resource logs are stored in specific individual storage accounts for each location that was configured during executing the main deployment.
Policy names: Vectra Policy Collect Automation Account Logs, Vectra Policy Collect Key Vault Logs, Vectra Policy Collect Storage Account Blob Logs, Vectra Policy Collect Storage Account File Logs.
Vectra creates the following Policy Assignments:
Vectra Initiative Collect Subscription Activity Logs Assignment
Vectra Initiative Collect Location Logs for [location] Assignment
Vectra creates a policy assignment that is specific for each location that was configured.
During 5. Remediate Policies, Vectra creates remediation tasks to remediate any existing resources in your environment that need to be made compliant with the policies for logging that Vectra created when executing the main deployment. These remediation tasks can be viewed in your Azure portal at Policy → Remedation → Remediation tasks (be sure to check that the scope matches the management group you used for deployment). Any Vectra supported resources that are deployed after you have fully completed your deployment will automatically be made compliant by Azure with the polices that Vectra put in place.
As Vectra continues development, additional log types may be supported. Running the ARM template deployment process is an idempotent process. The same steps can be run again in the future, and nothing will change with resources that Vectra has already deployed. If you add any new Azure regions/locations to your deployment or if Vectra adds additional supported resource types, simply redo the main deployment and remediation steps as outlined in the Automated deployment.
Flow and DNS Log Policies
If Flow and DNS log coverage is enabled, Vectra creates two additional initiatives, scoped to the subscriptions selected for this coverage (all subscriptions in the management group by default, or a specific list via Targeted Subscriptions — see Automated deployment):
Vectra Initiative Collect Flow Logs — creates VNet-level flow logs (via Azure Network Watcher) for in-scope VNets that do not already have a VNet flow-log configuration, writing new flow logs to the same storage accounts used for platform logs. Existing configurations and storage destinations are left unchanged. See Introduction, architecture, and requirements for how this differs from NSG Flow Logs.
Vectra Initiative Ensure VNets Linked to DNS Security Policy for DNS Log Collection — creates a DNS Security Policy per location and links each in-scope VNet to it, with diagnostic settings sending DNS query logs to the same storage accounts.
Configuring Private Access for Azure Storage Accounts
If it is required to setup private access for the storage accounts used by this Azure Data Source, please follow these instructions. This must be completed after the storage accounts have been created.
Performing this step will add IP level restrictions to the storage accounts so that only Vectra IPs in the same region as your Vectra tenant will be able to access the storage accounts.
When using the Automated Deployment this can be after executing the main deployment has completed. When using Manual Deployment this would be after 3. Deploy to Azure has been completed.
If you add additional locations or resources to your deployment, any new storage accounts created during that process would also need to again be configured as per these instructions below.
To configure private access for your Azure storage accounts used by this Azure Data Source:
Navigate to the resource group containing your storage accounts used for this Azure Data Source.
If using the automated deployment, it will be named
rg-vectra-cdrand in the region you specified during deployment.
Click on one of the storage accounts.
Open the Security + networking menu on the left and click on Networking.
Select the Enabled from selected virtual networks and IP addresses option.
Under the Firewall section, add the IPs corresponding to the region of your Vectra tenant from the list of IPs available here:
For example, if your Vectra URL is like this:
https://[unique_identifier].uw2.portal.vectra.ai/then you would use theus-west-2entries from the above list.uw2=us-west-2ew1=eu-west-1cc1=ca-central-1ec2=eu-central-2as2=ap-southeast-2
Click Save.
Repeat these steps for any additional storage accounts in your deployment. An example is shown below:
Checking and Resolving Permissions Issues
As discussed in required permissions during deployment, performing the deployment in Azure requires specific permissions:
Global Administrator in Microsoft Entra ID (Azure AD).
Resource Policy Contributor at management group level.
User Access Administrator at management group level.
This can be a temporary privilege elevation used only during the creation of Vectra resources.
This section will discuss how to check if you have the required permissions, how to gain the permissions, and how to remove the permissions after deployment.
Check for Global Administrator Role in Microsoft Entra ID
In the Azure portal, navigate to Microsoft Entra ID.
Click on Users in the menu to the left.
Search for the user who will be performing the install and click on their name.
From the user page, click Assigned Roles in the menu to the left and verify that you see Global Administrator in the list of roles.
If the user who will be performing the deployment does not have this role, please work with your IT team and internal process to be assigned this role.
Alternatively, you can also navigate to Microsoft Entra ID → Roles and administrators → search for Global Administrator and click on it.
The Active Assignments column will contain a list of users who have this role and could potentially perform the deployment.
Check for User Access Administrator and Resource Policy Contributor Role
The User Access Administrator role enables the user to grant themselves and other users access to Azure resources. This role will be required throughout the installation process.
The Resource Policy Contributor role gives users the rights to create and modify resource policy. This will be required to deploy the initial template and during the policy remediation stage of the deployment.
In the Azure Portal, navigate to Management Groups.
Select the management group you wish to deploy this Azure Data Source in.
If you cannot select the Management Group and instead see a message stating, You are not authorized to view this Management Group, then you do not have any roles assigned to you within that Management Group.
In this case, work with a colleague, or if you are a Global Administrator, you should be able to Elevate Permissions as Global Administrator.
After elevating permissions, you should be able to Assign Resource Policy Contributor Role.
After elevating permissions and assigning the Resource Policy Contributor role, you can come back here and perform the check as described below.
If you do not use management groups, please get in touch with your account team to discuss options.
Click into Access Control (IAM) in the left menu.
Click on the View my access button if you will be doing the installation or the Check access button to then search for the user who will be doing the installation.
On the assignments screen, check for both the Resource Policy Contributor and User Access Administrator roles.
They should both have a scope of This resource which refers to the management group that you chose earlier.
If you have this role at the Root scope, this will suffice as well.
If you are missing either of these roles, you will need to either add these roles (following your organization’s internal process) or use the instructions below. The User Access Administrator role can be a temporary elevation that is used only for the deployment, or it can be a role assignment.
If you determine that it is necessary to add the User Access Administrator role, we will assume this to be a temporary elevation use case in our below instructions.
Elevate Permissions as Global Administrator
Performing this step will add the User Access Administrator role at the root level in Azure. This is a highly privileged role that allows for a wide range of actions related to user permissions across all subscriptions and management groups. It is a best practice to assign this temporarily and then remove the role assignment after you have performed the deployment. Please see this Microsoft article for additional details.
In the Azure portal, navigate to Microsoft Entra ID.
Click Properties in the menu to the left.
Toggle the Access management for Azure resources setting to Yes and Save.
A success notification will appear in the corner once complete.
There may be a short delay in propagating this setting. Vectra recommends logging out and back into the Azure tenant to help refresh user credentials.
Once elevated per the above instructions, you should be able to assign the Resource Policy Contributor role.
Assign Resource Policy Contributor Role
In the Azure Portal, navigate to Management Groups.
Select the management group you wish to deploy this Azure Data Source in.
Click into Access Control (IAM) in the menu to the left.
Click + Add and the click Add role assignment.
In the search bar, type Resource Policy Contributor, click on its line, and then click Next.
In the Members tab, ensure User, group, or service principal is selected, click + Select members and then search for the name/email address of the user who will perform the installation. Select the user from the list that appears and click the Select button.
Click Next twice to move to the Review + assign screen, confirm the details are correct, and then click the Review + assign button.
A success notification will appear in the corner once complete.
There may be a short delay in propagating this setting. Vectra recommends logging out and back into the Azure tenant to help refresh user credentials.
After adding the Resource Policy Contributor role, it is recommended to check your permissions per the earlier instructions before continuing with the deployment.
Recommended Order of Operations for Permissions Cleanup
If it was required to elevate permissions or add roles as part of the deployment, it is recommended to remove these permissions when they are no longer required.
Vectra’s recommended sequencing is:
The user performing the deployment should perform De-Elevating Permissions as Global Administrator after Executing the main deployment (Deploy to Azure). This will ensure the deployment user will not have unnecessary permissions during the wait for the automated Azure policy compliance scan to complete.
After 24 hours, the user should perform the remediation as per Ensure pre-existing resources are remediated to log correctly (Remediate Policies).
After successful remediation, the user should again Elevate Permissions as Global Administrator so that they can Remove the Resource Policy Contributor Role that was required to be in place for the remediation step.
Remove the Resource Policy Contributor Role.
Finally, the user should perform De-Elevating Permissions as Global Administrator as shown below.
De-Elevating Permissions as Global Administrator
This will remove the User Access Administrator role that was temporarily added. Keep in mind that to be able to Remove the Resource Policy Contributor Role, you must have the User Access Administrator role that doing this step removes. It is recommended to follow the Recommended Order of Operations for Permissions Cleanup.
In the Azure portal, navigate to Microsoft Entra ID.
Click Properties in the menu to the left.
Toggle the Access management for Azure resources setting to No, and click Save.
A success notification will appear in the corner once complete.
There may be a short delay in propagating this setting. Vectra recommends logging out and back into the Azure tenant to help refresh user credentials.
Remove the Resource Policy Contributor Role
To remove the Resource Policy Contributor role, the user needs to have the User Access Administrator role that was granted earlier through permission elevation.
In the Azure Portal, navigate to Management Groups.
Select the management group you deployed this Azure Data Source into.
Click into Access Control (IAM) in the left menu.
Click the Role Assignments tab and then click on the Role filter button and select the Resource Policy Contributor role.
Select the checkbox next to the user you wish to remove the role from, click X Remove and then click Yes in the modal that appears.
There may be a short delay in propagating this setting. Vectra recommends logging out and back into the Azure tenant to help refresh user credentials.
Unsupported Azure Locations
Location or Region terminology is often used interchangeably in Azure documentation. One example is that when using the Azure CLI command of az account list-locations, the output is technically a list of regions. In this documentation, Location or Region is also used interchangeably.
Azure has two different kinds of location limitations that can affect this Data Source, for two different reasons.
Storage Account Locations
Due to differences in capabilities that Azure offers in each Location/Region, this Azure Data Source will not be able to ingest logs in some Locations. Additionally, some Locations cannot serve as the default Region for the deployment during Executing main deployment.
Please see the below table for details:
The column on the left, Unsupported Locations/Regions, are locations that storage accounts currently cannot be created in.
If your Azure deployment is using any of these locations, this Azure Data Source will not be able to collect logs from these locations. There will not be any errors generated during deployment because of this.
The column on the right, Locations/Regions Unsupported as Primary, if one of these Regions is selected when choosing the Region for the ARM template deployment, an error will occur during deployment. An example of such an error is included below:
Unsupported Locations/Regions
Locations/Regions Unsupported as Primary
australiacentral2
australiacentral
brazilsoutheast
israelcentral
francesouth
westindia
germanynorth
norwaywest
southafricawest
switzerlandwest
uaecentral
Flow and DNS Log Locations
Azure DNS Security Policy is not available in every region, and region support changes over time — so Vectra does not publish a fixed list here the way it does for storage-account locations above. During deployment, Vectra checks which of your VNets are in regions that don't yet support DNS Security Policy, and reports them in the deployment output. Flow log coverage is not affected by this — only DNS log coverage.
Last updated
Was this helpful?