# Create Dashboards in Multiple Orgs using Provisioning

**URL:** <https://community.grafana.com/t/create-dashboards-in-multiple-orgs-using-provisioning/42855>\
**Category:** Configuration\
**Tags:** provisioning\
**Created:** [February 9, 2021, 9:11am UTC](https://community.grafana.com/t/create-dashboards-in-multiple-orgs-using-provisioning/42855 "2021-02-09T09:11:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hdhruna](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/hdhruna/32/14884_2.png) [@hdhruna](https://community.grafana.com/u/hdhruna)\
**Post date:** [February 9, 2021, 9:11am UTC](https://community.grafana.com/t/create-dashboards-in-multiple-orgs-using-provisioning/42855/1 "2021-02-09T09:11:01Z")

</div>

Team,

I have an existing Grafana running as part of the dependency for **prometheus-operator/kube-prometheus-stack chart**. Grafana has a single Organization and few dashboards. I am trying to provision a new dashboard which should be created in a new Organization.

Here is the values.yaml snippet configuration I tried:

> ```
> dashboardProviders:
> dashboardproviders.yaml:
> apiVersion: 1
> providers:
> - name: "app1Dashboards"
> orgId: 1
> folder: ""
> type: file
> disableDeletion: false
> allowUiUpdates: false
> options:
> foldersFromFilesStructure: false
> path: /tmp/dashboards
> - name: "app2Dashboards"
> orgId: 2
> folder: ""
> type: file
> disableDeletion: false
> allowUiUpdates: false
> options:
> foldersFromFilesStructure: false
> path: /tmp/app2/dashboards
> 
> ```

However, using this configuration I encountered an error:

```
> t=2021-02-09T09:03:02+0000 lvl=eror msg="Failed to provision dashboard" logger=provisioning error="Failed to create provisioner: Failed to read dashboards config: failed to provision dashboards with "app2Dashboards" reader: Organization not found"
> t=2021-02-09T09:03:02+0000 lvl=eror msg="Stopped ProvisioningService" logger=server reason="Failed to create provisioner: Failed to read dashboards config: failed to provision dashboards with "app2Dashboards" reader: Organization not found"
> t=2021-02-09T09:03:02+0000 lvl=eror msg="A service failed" logger=server err="Failed to create provisioner: Failed to read dashboards config: failed to provision dashboards with "app2Dashboards" reader: Organization not found"
> t=2021-02-09T09:03:02+0000 lvl=eror msg="Server shutdown" logger=server reason="Failed to create provisioner: Failed to read dashboards config: failed to provision dashboards with "app2Dashboards" reader: Organization not found"
> Failed to create provisioner: Failed to read dashboards config: failed to provision dashboards with "app2Dashboards" reader: Organization not found

```

My use-case scenario is APP1 is for teamA and APP2 is for teamB and neither should be able to access the other Dashboard(s).

How do I create(provision) the second Org in helm chart?

---

<div class="post-metadata">

**Author:** ![wlargou](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/wlargou/32/14374_2.png) [@wlargou](https://community.grafana.com/u/wlargou)\
**Post date:** [February 9, 2021, 6:44pm UTC](https://community.grafana.com/t/create-dashboards-in-multiple-orgs-using-provisioning/42855/2 "2021-02-09T18:44:41Z")

</div>

Hi,

Did you try to use the Organization API to create the org beforehand.

Instead, this is a typical RBAC scenario, you should create user groups and restrict access to each dashboard folder using the API :

> **[Folder Permissions HTTP API](https://grafana.com/docs/grafana/latest/http_api/folder_permissions/)**
>
> Grafana Folder Permissions HTTP API

Hope it helps.

Good Luck
