Connect Azure CSP customer subscriptions

Grant CloudBolt Platform read access to your CSP customers’ Azure subscriptions

If you are a Microsoft CSP partner, your Azure connection on the Microsoft Partner Agreement (MPA) billing account brings in cost data for all your customers. Resource inventory and recommendations for a customer also need read access to that customer’s subscriptions.

Grant this access per customer tenant through Azure Lighthouse or a resources-only connection:

Method What’s added in the customer tenant Who sets it up New subscriptions
Azure Lighthouse A Lighthouse delegation on each subscription An account with Owner on the subscriptions Delegated individually
Resources-only connection The CloudBolt enterprise application, a custom read-only role, and role assignments A Global Administrator or Privileged Role Administrator to approve CloudBolt, and an account with Owner or User Access Administrator at the chosen scope Included automatically when the role is on a management group

CloudBolt shows each customer’s data in that customer’s organization when the organization’s scope rules cover the customer’s subscriptions. Refer to Scope rules.

Azure Lighthouse

A Lighthouse delegation grants the Azure built-in Reader role on the customer’s subscriptions to the CloudBolt enterprise application (CB-Platform-App) in your partner tenant. Deploy it from the Azure portal with a template.

Prerequisites

Prepare the parameters file

You only need to prepare this file once. Reuse it for every customer.

  1. Open lighthouse-delegation.parameters.json in a text editor.
  2. Replace <PARTNER_TENANT_ID> with your partner tenant’s ID, from Microsoft Entra ID > Overview > Tenant ID. This is the tenant your CloudBolt Azure connection uses.
  3. Replace <CLOUDBOLT_APPLICATION_OBJECT_ID> with the object ID of the CloudBolt application in your partner tenant, from Microsoft Entra ID > Enterprise applications > CB-Platform-App > Object ID.
  4. Save the file.

Delegate the customer’s subscriptions

Repeat these steps for each customer tenant, and for any subscriptions the customer adds later.

  1. In the Azure portal, switch directory to the customer’s tenant.
  2. Go to Service providers > Service provider offers > Add offer > Add via template.
  3. Upload lighthouse-delegation.json, select I have a separate parameter file, upload lighthouse-delegation.parameters.json, and then select Upload.
  4. Select the CloudBolt FinOps Platform offer, and then select Delegate resources > Delegate subscriptions.
  5. Select the subscriptions, select Add, and then select Delegate.

Result: The offer shows the number of delegated subscriptions. CloudBolt reads delegated subscriptions in its next daily collection. No setup is needed in CloudBolt.

What the Lighthouse delegation changes

  • Added: An Azure Lighthouse delegation named “CloudBolt FinOps Platform” on the selected subscriptions.
  • Who gets access: The service principal of the CloudBolt application in your partner tenant. No user accounts get access.
  • Level of access: The Azure built-in Reader role.
  • Where to see it: Service providers in the customer’s Azure portal. Activity is recorded in the subscription Activity log.
  • How to remove it: Remove the delegation under Service providers.

Resources-only connection

A resources-only connection gives CloudBolt read access to one customer’s Azure tenant without creating a storage account or cost exports. Cost data for the customer still comes from your partner connection.

Prerequisites

  • Admin access to the customer’s organization in CloudBolt Platform.
  • A Global Administrator or Privileged Role Administrator user account that belongs to the customer’s directory, to approve the CloudBolt application. Approval is needed only for the first connection from that tenant.
  • The Owner or User Access Administrator role at the scope you choose in the steps below.

Create the connection

  1. In CloudBolt Platform, switch to the customer’s organization.
  2. Go to Settings > Connections, and next to Azure, select Add Connection.
  3. Under What should CloudBolt read?, select Resources only.
  4. Select Sign in with Microsoft and sign in with a user account from the customer’s directory.
  5. On Choose scope, select where CloudBolt’s read-only role is assigned:
    • Tenant root management group (default): All subscriptions in the tenant, including any added later.
    • Specific management group: The subscriptions under that management group.
    • Selected subscriptions only: The subscriptions you select.
  6. Select Provision.

Result: The connection appears on Settings > Connections with a Non-billing badge. When you select Test Connection, the cost checks show as skipped. This is expected for a resources-only connection.

What the resources-only connection changes

  • Added: The CloudBolt enterprise application (service principal) is approved in the customer’s Microsoft Entra ID. CloudBolt creates a custom role named “CloudBolt Reader (Non-Billing)” and assigns it to the application at the chosen scope. When the account has the rights, CloudBolt also assigns the built-in Reservations Reader and Savings plan Reader roles at the tenant root.
  • Not created: Storage accounts, resource groups, cost exports, or user accounts.
  • Where to see it: Enterprise applications and Access control (IAM) in the customer’s Azure portal. Activity is recorded in the Activity log.
  • How to remove it: Remove the role assignment and delete the enterprise application in Azure, and then disconnect the connection in CloudBolt.

Troubleshooting

The Delegate button is unavailable, or you see a roleAssignments/write error

Cause: The account does not have the Owner role on that subscription.

Fix: Use an account with Owner on the subscription, or ask the customer’s subscription Owner to deploy the delegation.

CloudBolt is not approved in your Microsoft Entra tenant

Cause: CloudBolt is not yet approved in the customer’s directory, and the user account is not a Global Administrator or Privileged Role Administrator there.

Fix: Sign in with a Global Administrator or Privileged Role Administrator user account that belongs to that directory.