Connect a Member Subscription

In this guide, you will enable resource-level governance for an Azure subscription by changing it from Subscription Only mode to All Resources mode. This grants Guardrails the ability to discover individual resources within the subscription, enabling runtime controls and automated remediation.

Prerequisites

Why Configure Subscription Access?

After connecting your Azure Tenant, subscriptions start in Subscription Only mode. Guardrails can see the subscriptions and evaluate tenant-level governance posture, but doesn't discover individual resources within them. To enable resource-level governance (runtime controls, resource discovery, and automated remediation), you need to:

  1. Ensure the App Registration has appropriate IAM permissions on the target subscription.
  2. Change the subscription's discovery level from Subscription Only to All Resources.
  3. Save the configuration.

Step 1: Verify Azure IAM Permissions

Before upgrading a subscription, verify that your App Registration has the necessary permissions at the subscription level in Azure.

  1. In the Azure Portal, navigate to the target subscription.
  2. Click Access control (IAM) in the left sidebar.
  3. Verify that your Guardrails App Registration has at minimum the Reader role assigned. For full remediation capability, assign Contributor or Owner.
Permission LevelWhat Guardrails Can Do
Reader (or Guardrails ReadOnly Role)Resource discovery and detective controls
ContributorDiscovery, detective controls, and automated remediation
OwnerFull governance including permission management

Step 2: Navigate to Organization Settings

Navigate to Accounts > Organizations and click on your Azure Tenant. Select the Settings tab.

In the Tenant Structure section, you'll see your tenant's management group hierarchy with each subscription showing its current discovery level.

Tenant Settings page showing the Tenant Structure with subscriptions and their discovery level dropdowns

Step 3: Change the Subscription to All Resources

Find the subscription you want to upgrade. Click the discovery level dropdown next to it and select All Resources.

Discovery level dropdown showing None, Subscription Only, and All Resources options

ModeDescription
NoneThe subscription is excluded. Guardrails does not import or monitor it. If the subscription was previously imported, changing to None deletes the subscription and all its discovered resources from Guardrails.
Subscription OnlyGuardrails sees the subscription and evaluates tenant-level governance. No resource discovery.
All ResourcesFull resource-level governance: discovery, runtime controls, and remediation. Requires appropriate IAM permissions on the subscription.

[!CAUTION] Changing a subscription's discovery level to None permanently deletes the subscription and all of its discovered resources from Guardrails. The resources remain in Azure but all Guardrails governance data (CMDB records, policy evaluations, control states) is removed. If you want to reduce governance scope without deleting data, use Subscription Only instead.

Step 4: Save Configuration

After selecting All Resources, the page shows Save Changes and Cancel buttons.

Tenant Structure with gfb-central-it-prod-sub changed to All Resources and Save Changes button visible

Click Save Changes to apply. Guardrails will begin discovering resources in the subscription.

[!NOTE] Resource discovery may take several minutes depending on the number of resources in the subscription. Monitor progress on the subscription's Activity tab.

Step 5: Verify Resource Discovery

After saving, navigate to the subscription in the Accounts page and select the Resources tab. The subscription should now show a resource count with discovered Azure resources including Policy Assignments, Policy Definitions, and Resource Groups.

You can filter by Resource Type to focus on particular resource categories, or check the subscription's Controls tab to verify that CMDB and Discovery controls are in OK state.

Next Steps

Troubleshooting

IssueSolution
Resources not appearing after upgradeResource discovery takes several minutes. Check the subscription's Activity tab. If no activity, verify the App Registration has the correct IAM permissions on the subscription in Azure.
Permission errors during discoveryThe App Registration needs at least Reader access at the subscription level. Check Azure IAM role assignments.
Discovery shows errors on some resource typesSome resource types require specific Azure resource providers to be registered. Check for provider registration errors in the Activity tab.
Further assistanceOpen a Support Ticket