Ldap organization issues

  • What Grafana version and what operating system are you using? 8.3.3

  • What are you trying to achieve?
    Successful authentication using ldap with multiple organizations to a particular dashboard

  • How are you trying to achieve it?
    using active directory with multiple organizations/ou’s to a single role and trying to access a separate folder/dashboard.

  • What happened?
    No matter what I have tried, I cannot get multiple organizations to work with grafana. Any organization that is 2 or more cannot successfully render a dashboard. For instance if I try to create an entirely new dasboard with different name/titles and uids and put it in the organization, I still cannot render the entire dashboard. If I also try using a adding another importdashboard.yml with the new orgid under conf/provisioning that does work( i.e. I canot render the new dashboard. If I ty=hen try adding another datasource with another orgid, but the same datasource, this still does not work. I need to know exactly how this works. I have included a sample of the configuration I am using.
    Also, I always have to add the orgid to the grafana console, even if I have already added it to the conf file via the ldap.toml before I can even do an ldap search.

  • What did you expect to happen?
    successfully connect to the dashboard under a different orgid other than 1.(the default).

  • Can you copy/paste the configuration(s) that you are having problems with?
    Map ldap groups to grafana roles
    org_role = “admin”

org_role = “admin”

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
  1. If I code a different datasource -i.e. with a different orgid and/or name… the grafana instance will not even come up.
  2. If I import another dashboard and change all uids and dashboard names… I never end up seeing all the data.
  • Did you follow any online instructions? If so, what is the URL?

Manage organizations | Grafana documentation