Skip to content

Azure Deployment

Provides instructions for connecting the CCA service to a customer Azure subscription by creating a service principal with read-only access.

CLI Support Coming Soon

This guide currently covers the Azure Portal (console) workflow only. A corresponding Azure CLI section will be added in a future release.

Prerequisites

  • Access to the Azure Portal with sufficient permissions to create App Registrations and assign roles at the Management Group level.

Create a Service Principal

A service principal is an identity the CCA AI service uses to authenticate and read resources from your Azure subscription. The steps below walk through creating an App Registration in Microsoft Entra ID and granting it the built-in Reader role at the Tenant Root Group level so that CCA has read-only visibility across your tenant.

Step 1 — Open Microsoft Entra ID

From the Azure Portal home page, locate the Microsoft Entra ID tile in the list of Azure services, or type Microsoft Entra ID in the top search bar and select it from the results.

Azure Portal home page — locate Microsoft Entra ID


Step 2 — Navigate to App Registrations

On the Microsoft Entra ID overview page, select App registrations from the left-hand navigation menu.

Microsoft Entra ID — App registrations


Step 3 — Create a New Registration

Click + New registration at the top of the App registrations page.

App registrations — New registration button


Step 4 — Register the Application

On the Register an application page:

  1. Name — Enter bluemantis-park-pass.
  2. Supported account types — Select Accounts in this organizational directory only (Single tenant).
  3. Leave Redirect URI blank.
  4. Click Register.

Register an application — name and single-tenant selection


Step 5 — Copy the Application IDs and Add a Secret

After registration, the application overview page is displayed. Record the following values — you will need them when configuring CCA:

Field Description
Application (client) ID Unique identifier for the registered application
Directory (tenant) ID Your Azure Active Directory tenant identifier

Then click Add a certificate or secret on the right-hand side to create credentials for the service principal.

Application overview — client ID, tenant ID, and add a secret


Step 6 — Create a New Client Secret

On the Certificates & secrets page, click + New client secret and configure the secret:

  1. Description — Enter a meaningful label (e.g., cca-park-pass-secret).
  2. Expires — Select 12 months (or the expiry period required by your security policy).
  3. Click Add.

New client secret — description and 12-month expiry

Secret Rotation

You are responsible for rotating this secret before it expires. CCA will fail to authenticate if the secret has expired.


Step 7 — Copy the Secret Value

Immediately after the secret is created, copy the Value column — this is the only time Azure displays the full secret. Store it securely (e.g., in a secrets manager).

Client secrets — copy the secret value

Copy the value now

Once you navigate away from this page the secret value is masked and cannot be retrieved. You will have to create a new secret if the value is lost.


Grant Read-Only Access

The service principal must be granted the Reader role at the Tenant Root Group level so it can read resources across the subscription. This is a read-only role and grants no ability to create, modify, or delete resources.

Step 8 — Open Management Groups Access Control

Navigate to Azure Resource Manager → Management Groups, then select the Tenant Root Group. On the group's detail page, select Access control (IAM) from the left-hand menu, then click + Add → Add role assignment.

Tenant Root Group — Access Control (IAM) Add button


Step 9 — Add a Role Assignment

In the Add role assignment panel, select Add role assignment from the dropdown.

Add role assignment dropdown


Step 10 — Select the Reader Role

On the Role tab, search for and select Reader, then click Next.

Add role assignment — select Reader role


Step 11 — Assign the Role to the Service Principal

On the Members tab:

  1. Assign access to — Select User, group, or service principal.
  2. Click + Select members and type bluemantis-park-pass in the search box.
  3. Select the bluemantis-park-pass application from the results.
  4. Click Select, then click Next.

Members tab — select the bluemantis-park-pass service principal


Step 12 — Review and Assign

On the Review + assign tab, verify that:

  • Role is Reader
  • Members shows bluemantis-park-pass

Click Review + assign to apply the role assignment.

Review and assign the Reader role to bluemantis-park-pass


Register with Blue Mantis CCA

Step 13 — Submit Your Credentials via the Blue Mantis Portal

Once the service principal has been created and the Reader role assigned, the final step is to register your tenant with the Blue Mantis CCA system. Blue Mantis will provide you with a unique portal link. Open that link in your browser and fill in the following values collected during the steps above:

Field Source
Application (client) ID App registration overview page (Step 5)
Directory (tenant) ID App registration overview page (Step 5)
Client secret value Certificates & secrets page immediately after creation (Step 7)

Submitting the form registers your Azure tenant and service principal with the CCA system, granting Blue Mantis the read-only access required to begin onboarding.

Certificates Supported

If your security policy prefers certificate-based authentication over client secrets, CCA also supports uploading a certificate for the service principal. When prompted in the portal, select the Certificate option instead of Secret and provide the certificate value accordingly. If you are unsure which to use, a client secret is the simpler option for most environments.

Blue Mantis CCA portal — submit Azure credentials

Registration Complete

Once submitted, your Azure environment will be queued for onboarding. A Blue Mantis engineer will reach out to confirm access and next steps.


Summary of Collected Values

Value Where to Find It
Application (client) ID App registration overview page (Step 5)
Directory (tenant) ID App registration overview page (Step 5)
Client secret value (or certificate) Certificates & secrets page immediately after creation (Step 7)
Portal link Provided directly by your Blue Mantis account team