docs/sources/setup-grafana/configure-access/configure-scim-provisioning/troubleshooting/_index.md
This page provides solutions for common issues you might encounter when configuring and using SCIM provisioning in Grafana.
Cause: The SCIM endpoint URL is incorrectly formatted.
Solution: Verify your URL follows the correct format:
https://{$GRAFANA_URL}/apis/scim.grafana.app/v0alpha1/namespaces/{$STACK_ID}/Users
Where:
{$GRAFANA_URL} is your Grafana URL (subdomain format){$STACK_ID} is your Grafana stack ID:
stack-123 (found in your Grafana Cloud dashboard)default or the name of the organizationCause: Either incorrect token or insufficient permissions.
Solution:
Editor or Admin role in the Grafana instanceCause: Invalid or expired authentication token.
Solution: Generate a new token from the Service Account details page in Grafana.
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") |