🔷Install IAM assessment on Microsoft Azure
Install the P0 IAM assessment integration on Microsoft Azure to collect IAM data. Required to use Access Inventory and Posture for your Azure subscriptions.
Install the IAM assessment integration to let P0 collect and analyze Azure role assignments, permissions, and resource access for your subscriptions. The assessment also inventories the key and password credentials of service principals that hold role assignments, so Posture can flag stale, expiring, and overprivileged service principal access.
P0 also collects usage signals: the last sign-in activity of users and service principals, and the control-plane actions recorded in the Azure Activity Log. P0 uses these signals to populate Last Used in Access Inventory and to flag unused identities and privileges in Posture.
You must install the IAM assessment integration to use Access Inventory or Posture. P0 builds the identity graph and evaluates posture findings from the data this integration collects. Without it, Inventory and Posture have no data to display.
Prerequisites
Existing P0 account at p0.app.
One Entra ID directory and at least one subscription on which to install P0.
A completed Azure app registration. IAM assessment uses the service identity created during app registration.
The ability to create role assignments. You have this if the Owner role is assigned to your user.
The ability to grant admin consent for Microsoft Graph application permissions. You have this if the Privileged Role Administrator or Global Administrator role is assigned to your user.
Install the integration
Navigate to Integrations on p0.app, then select Azure.
If prompted, enter the ID of the Entra tenant you want to install P0 on.
Choose the IAM assessment component.
Enter the subscription ID of the subscription you want to assess, then click Next.
Review the generated commands. To assess your subscription, P0 needs the built-in Reader role on the subscription, so P0 can collect IAM data, and the following read-only Microsoft Graph permissions, so P0 can inventory directory identities and the app credentials of service principals that hold role assignments:
PermissionDescriptionGroup.Read.AllRead all groups
GroupMember.Read.AllRead group memberships
User.Read.AllRead all users' full profiles
RoleManagement.Read.AllRead role management resources
Reports.Read.AllRead all usage reports
AuditLog.Read.AllRead all audit log data
Application.Read.AllRead all application and service principal properties
Granting the Microsoft Graph permissions requires admin consent.
Provision access
The P0 configuration page provides the provisioning commands in two formats. Choose the tab that matches how you manage Azure access:
Copy the commands from the Shell tab on the P0 configuration page. P0 generates a command that adds and admin-consents the Microsoft Graph permissions and a command that assigns the Reader role.
Run the commands with the Azure CLI or in Azure Cloud Shell.
Copy the configuration from the Terraform tab on the P0 configuration page. P0 generates:
An
azuread_application_api_accessresource that grants the Microsoft Graph permissions to the P0 app registration.An
azuread_app_role_assignmentresource that grants admin consent for each permission.An
azurerm_role_assignmentresource that assigns the Reader role on the subscription.
Add the configuration to your Terraform project, then run
terraform apply.
Verify the installation
Return to the P0 configuration page and click Next to verify the installation. When verification succeeds, the subscription appears as installed under the IAM assessment component.
Next steps
Create an environment and run your first scan. See Creating an environment.
View your results in Access Inventory and Posture.
Last updated