Menu
Choose a product
Viewing: v12.4 (latest)
Find another version
Scroll for more
Documentation
Grafana documentation
Set up
Configure access management
Configure SCIM provisioning
Troubleshoot SCIM
Troubleshoot SCIM provisioning
This page provides solutions for common issues you might encounter when configuring and using SCIM provisioning in Grafana.
User provisioning issues
Error: “invalid namespace”
Cause: The SCIM endpoint URL is incorrectly formatted.
Solution: Verify your URL follows the correct format:
Bash
https://{$GRAFANA_URL}/apis/scim.grafana.app/v0alpha1/namespaces/{$STACK_ID}/UsersWhere:
{$GRAFANA_URL}is your Grafana URL (subdomain format){$STACK_ID}is your Grafana stack ID:- Grafana Cloud: Format like
stack-123(found in your Grafana Cloud dashboard) - On-premises: Use
defaultor the name of the organization
- Grafana Cloud: Format like
Authentication issues
Error: “HTTP 403 Forbidden”
Cause: Either incorrect token or insufficient permissions.
Solution:
- Check token: Generate a new token from the Service Account details page
- Verify permissions: Ensure the service account has
EditororAdminrole in the Grafana instance
Error: “HTTP 401 Unauthorized”
Cause: Invalid or expired authentication token.
Solution: Generate a new token from the Service Account details page in Grafana.
Login issues
Error: “User sync failed”
Cause: The user’s unique identifier field is not correctly configured in SAML assertions.
Solution: Add the required SAML assertion based on your identity provider:
| SAML Assertion | Identity Provider | Value |
|---|---|---|
userUID | Entra ID | objectId |
userUID | Okta | user.getInternalProperty("id") |
Next steps
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video

Getting started with managing your metrics, logs, and traces using Grafana
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.
Video

Getting started with Grafana dashboard design
In this webinar, you'll learn how to design stylish and easily accessible Grafana dashboards that tell a story.
Video

Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.