Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/azure/collect-azure-serverless/manage-azure-credentials.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana-cloud/monitor-infrastructure/monitor-cloud-provider/azure/collect-azure-serverless/manage-azure-credentials/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Manage Azure credentials
Use Cloud Provider Observability to view, edit, disable, enable, and delete your Azure credentials. Credentials connect your Azure account to Grafana Cloud and control which subscriptions and resources are monitored.
Before you begin
- You have a Grafana Cloud account.
- You have either the Admin Grafana Cloud basic role or the Azure Writer plugin role for your stack. For steps to assign RBAC roles, refer to Assign RBAC roles.
- You have at least one Azure credential configured in Cloud Provider Observability. If you haven’t configured one yet, refer to Configure serverless Azure metrics with Cloud Provider.
View credentials
To view your Azure credentials and their configuration details:
- In your Grafana Cloud stack, expand Observability > Cloud Provider in the main menu.
- Click Azure, then click the Configuration tab.
- Click the Azure Metrics tile.
- On the Azure credentials page, click the name of the credential you want to view.
- Optionally, click Resources to expand the section and review the subscriptions and resources included in this credential.
- Optionally, click View next to a resource to see the specific metrics being collected for that resource.
Edit a credential
To update an Azure credential’s account information, tags, static labels, subscriptions, resources, or metrics:
- In your Grafana Cloud stack, expand Observability > Cloud Provider in the main menu.
- Click Azure, then click the Configuration tab.
- Click the Azure Metrics tile.
- On the Azure credentials page, click the name of the credential you want to edit.
- Click Actions, then select Edit.
- On the Edit credential page, make your changes.
You can update any of the following from this page:
- Azure account information (Name, Client ID, Client secret, or Tenant ID)
- Tag key and value filters
- Static labels
- Subscription IDs
- Resources included for a subscription
- Metrics, aggregations, and dimensions collected for a resource
- Click Save credential.
Disable or enable a credential
Disabling a credential stops metric collection for all resources associated with it without deleting the credential configuration. Use this option to temporarily pause monitoring—for example, during maintenance or to manage active series costs.
Note
While a credential is disabled, no metrics are collected from the associated Azure resources. Existing data already ingested into Grafana Cloud is not affected.
Disable or enable a credential in the UI
To disable an Azure credential:
- In your Grafana Cloud stack, expand Observability > Cloud Provider in the main menu.
- Click Azure, then click the Configuration tab.
- Click the Azure Metrics tile.
- On the Azure credentials page, select the checkbox next to the Credential name.
- Click Disable.
- Click Disable credential to confirm.
To enable a disabled Azure credential:
- In your Grafana Cloud stack, expand Observability > Cloud Provider in the main menu.
- Click Azure, then click the Configuration tab.
- Click the Azure Metrics tile.
- On the Azure credentials page, select the checkbox next to the Credential name.
- Click Enable.
- Click Enable credential to confirm.
Disable or enable a credential using Terraform
Use the enabled attribute on the grafana_cloud_provider_azure_credential resource to control whether a credential is active.
The attribute defaults to true when not set.
To disable an Azure credential, set enabled to false in your Terraform configuration and run terraform apply:
resource "grafana_cloud_provider_azure_credential" "example" {
stack_id = "@@@your-stack-id@@@"
name = "@@@my-azure-credential@@@"
client_id = "@@@your-client-id@@@"
client_secret = "@@@your-client-secret@@@"
tenant_id = "@@@your-tenant-id@@@"
enabled = false
}To re-enable the credential, set enabled back to true and run terraform apply:
resource "grafana_cloud_provider_azure_credential" "example" {
stack_id = "@@@your-stack-id@@@"
name = "@@@my-azure-credential@@@"
client_id = "@@@your-client-id@@@"
client_secret = "@@@your-client-secret@@@"
tenant_id = "@@@your-tenant-id@@@"
enabled = true
}For the full resource schema, refer to the grafana_cloud_provider_azure_credential Terraform resource documentation.
Delete a credential
Deleting a credential permanently removes the credential and stops all metric collection for its associated resources. This action cannot be undone.
Warning
Deleting a credential is permanent. If you want to temporarily stop metric collection, consider disabling the credential instead.
To delete an Azure credential:
- In your Grafana Cloud stack, expand Observability > Cloud Provider in the main menu.
- Click Azure, then click the Configuration tab.
- Click the Azure Metrics tile.
- On the Azure credentials page, click the name of the credential you want to delete.
- Click Actions, then select Delete.
- Click Delete to confirm.
Was this page helpful?
Related resources from Grafana Labs


