Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex XDR

Bring your own Azure app registration (BYOA)

For Azure outposts with your own app registration (BYOA): deploy a standard or custom Azure outpost with your own pre-created Entra ID app registration and, optionally, your own scanner managed identi

License type: This feature is included with a Cortex XDR license that has the Cloud Posture Security or Cloud Runtime Security add-on.

What Cortex XDR creates without your own app registration

By default, when you do not turn on Bring Your Own App Registration, Cortex XDR creates the following identity resources in your Entra ID tenant and Azure subscription when you deploy the Terraform template:

  • Outpost app registration and service principal: The identity that Cortex XDR uses to operate the outpost.

  • Microsoft Graph API permission requests: Cortex XDR requests these permissions on the app registration. They become active only after an administrator grants admin consent during onboarding.

  • Federated identity credentials: The trust between the app registration and the scanner managed identities.

  • Scanner managed identities: The user-assigned managed identities for agentless disk scanning, DSPM, registry scanning, serverless scanning, and the egress proxy.

To create the app registration, the Terraform runner identity needs the Application.ReadWrite.All permission in Microsoft Entra ID, for example through the Cloud Application Administrator or Application Administrator role. For the permissions that each role includes, see Microsoft Entra built-in roles. The Terraform runner identity also needs the Azure roles on the subscription that any outpost deployment requires. For the full list, see Create a standard outpost.

This default is the simplest option. Choose it unless your organization does not allow a third party to create app registrations in your tenant.

You can bring your own app registration (BYOA) to deploy a Cortex XDR Azure outpost with your own pre-created Microsoft Entra ID app registration, instead of having Cortex XDR create one. You can also bring your own scanner managed identities. This option is for organizations with strict governance policies that require control over Entra ID tenant-level resources. It is available for both standard and custom Azure outposts.

Note: You can bring your own app registration only for Azure outposts, that is, when you scan with an outpost. It does not apply to Cloud Scan.

How your own app registration differs

The following table compares an Azure outpost where Cortex XDR creates the app registration with an outpost where you bring your own.

Area
Cortex XDR creates the app registration (default)
You bring your own app registration

Who creates the app registration and service principal

Cortex XDR, during the Terraform deployment.

You, once, before you create the outpost.

Entra ID permission for the Terraform runner identity

The Application.ReadWrite.All permission, for example through the Cloud Application Administrator or Application Administrator role.

No Entra ID directory role. The Terraform runner identity is an owner of your app registration only.

Scope of write access in your tenant

Any app registration in the tenant.

Only your app registration. Cortex XDR does not write to your tenant beyond it.

Federated identity credentials

Cortex XDR creates them.

Cortex XDR creates them on your app registration.

Scanner managed identities

Cortex XDR creates them.

Cortex XDR creates them, unless you also bring your own scanner managed identities.

If you bring your own scanner managed identities, grant the service principal of your app registration the Managed Identity Operator role on the resource group of the identities. The shell script grants this role for you. Without it, scans fail with a 403 LinkedAuthorizationFailed error.

What you maintain after deployment

Nothing beyond the outpost.

Your app registration and its service principal, the Terraform runner ownership, and your scanner managed identities if you bring your own. Do not delete or disable them while the outpost exists.

Security considerations

The deployment requires a privileged Entra ID role for the duration of the deployment and of each upgrade.

Least privilege. No tenant-wide Microsoft Graph permission is needed, and you keep full control of the identity that Cortex XDR uses.

Who provides what

The following table shows what you create and what Cortex XDR creates when you deploy the outpost.

You create once
Cortex XDR creates during the deployment

The Entra ID app registration and its service principal

All federated identity credentials on your app registration

Ownership of the app registration for the Terraform runner identity

All outpost infrastructure, such as storage, networking, and scanner VMs

(Optional) The scanner managed identities

The scanner managed identities, unless you provide your own

Workflow for your own app registration

Follow these steps to deploy an Azure outpost with your own app registration:

  1. Create the Azure app registration and its service principal in your Entra ID tenant, with the shell script for Azure app registration or in the Azure portal. Save the IDs.

  2. Create the outpost, and enter the IDs in the wizard:

  3. Deploy the Terraform template, and verify the outpost. Cortex XDR creates the federated identity credentials on your app registration, and everything else that the outpost needs.

Use your own app registration with a standard outpost

You can bring your own app registration to a standard Azure outpost, without the other custom outpost options. In the outpost creation wizard, click Show advanced settings, and turn on Bring Your Own App Registration. The fields are the same as in the custom outpost wizard. For the procedure, see the Azure steps in Create a standard outpost.

You deploy the Terraform template with the same steps as any standard Azure outpost. The Terraform runner identity must be an owner of your app registration.

What's next?

Continue with the following topics:

Last updated

Was this helpful?