Troubleshoot Azure Account Onboarding
During the onboarding process and after you may encounter some issues that may lead to issues with retrieving logs, metadata, scanning network traffic or identifying vulnerabilities on your Azure resources.
Use this troubleshooting guide to find tips to identify, detect, and remediate any issues that may arise.
Issue
Troubleshooting Tip
Azure Onboarding Terraform Issues
Error below when running the Azure onboarding Terraform template on your local system or Azure Cloud shell.
Your local system or Azure Cloud shell still has the old versions of Terraform libraries installed. To update to the new terraform library versions, execute terraform init -upgrade command in the directory where you want to execute terraform. Next, execute terraform apply to run Terraform.
Following error during terraform apply step, while running Azure onboarding Terraform template on your local system or Azure Cloud Shell.
Ensure that the you have been assigned the Global Administrator role on Azure Active Directory (AD).
Following error during terraform apply step, while running Azure onboarding Terraform template on your local system or Azure Cloud Shell.
The Azure tenant does not have Management Group service enabled or the user running the terraform command does not have elevated accesss to Azure subscription. Ensure that the Global Administrator user has elevated access to the Azure subscription.
Following error during terraform apply step, while running Azure onboarding Terraform template on your local system or Azure Cloud Shell
Ensure that the you have been assigned the Global Administrator role on Azure Active Directory (AD).
Azure Cloud Account Status related issues
Cloud account status shows the following error / warning for under Config on the Cloud Account Status page.
Ensure that you have granted Admin Consent to all the Microsoft Graph API Permissions on the Azure Portal and confirm that the Status column for all the API Permissions has a green checkmark.
Steps: Go to Azure tenant > App registrations > Select the Prisma Cloud app > API permissions > Grant Admin conceent for Tenant (check mark)

Cloud account status shows error for multiple components.
Verify that you have created the required roles, added the role assignments and selected Grant Admin Consent for API permissions If the issue still persists after you have eliminated the items above as an issue, confirm that you have given Prisma Cloud the appropriate Enterprise Application Object ID:
Navigate to Enterprise Applications > All Applications.
Search for your application in the Search box and copy the Object ID.
Copy and paste it in Enterprise Application Object ID in the Prisma Cloud Azure Onboarding workflow and ensure that all the statuses are green in the Review Status dialog.

Following permissions are shown as missing under Agent Based Workload Protection component under the account onboarding status tab:
Verify that Key Vault Crypto Service Encryption User built in role is assigned at Tenant/Subscription scope to the Prisma Cloud app registration.

Cloud account status displays red and includes the following error message:
Login to the Azure Portal and check whether the Azure subscription is deleted or disabled. Prisma Cloud cannot monitor the subscription if it is deleted or disabled.
A child account of an already added Tenant on Prisma Cloud is modified on the Azure Portal, but the change is not reflected in Prisma Cloud under Management Groups and Subscriptions of the already added Tenant.
It can take up to six hours for new child account information to be added, updated, or deleted in Prisma Cloud.
Azure Flow Logs configuration related issues
Ingest and Monitor Network Security Group Flow Logs checkbox is checked during onboarding and you are still facing issues with Flow Logs Ingestion.
Check whether Azure flow logs are being generated and written to the storage account:
Log in to the Azure portal.
Select Storage Accounts and select the storage account that you want to check.
Select Blobs > Blob Service and navigate through the folders to find the .json files. These are the flow logs that Prisma Cloud ingests.
Check that you have created storage accounts in the same regions as the Network Security Groups.
Network Security Group (NSG) flow logs are a feature of Network Watcher that allows you to view information about ingress and egress IP traffic through an NSG. Azure flow logs must be stored within a storage account in the same region as the NSG.
Log in to Prisma Cloud.
Select Investigate and enter the following RQL query:
This query allows you to list all network traffic from the Internet or from Suspicious IP addresses with over 0 bytes of data transferred to a network interface on any resource on any cloud environment.
Verify that you have enabled Network Watcher instance.
The Network Watcher is required to generate flow logs on Azure.
Log in to the Azure portal and select Network Watcher > Overview and verify that the status is Enabled.
Log in to Prisma Cloud.
Select Investigate and enter the following RQL query:
Check that you have enabled flow logs on the NSGs.
Log in to the Azure portal, and select Network Watcher > NSG Flow Logs and verify that the status is Enabled.
Log in to Prisma Cloud.
Select Investigate and enter the following RQL query:
This query allows you to list all network traffic from the Internet or from Suspicious IP addresses with over 0 bytes of data transferred to a network interface on any resource on any cloud environment.
Last updated
Was this helpful?

