Hello,
I am trying to automate the data source configuration for azure-monitor using Azure pipelines in devops.
The configuration made is the following:
grafana:
additionalDataSources:
- name: azure-monitor
type: grafana-azure-monitor-datasource
orgId: 1
typeLogoUrl: public/plugins/grafana-azure-monitor-datasource/img/logo.jpg
access: proxy
url: /api/datasources/proxy/2
isDefault: false
jsonData:
cloudName: azuremonitor
subscriptionId: xxx
tenantId: xxx
clientId: xxx
logAnalyticsDefaultWorkspace: xxx
azureLogAnalyticsSameAs: true
keepCookies:
secureJsonData:
clientSecret: xxx
editable: false
And I get the error:
If I update manually in the data source the Client Secret it works.
It also works using version of Grafana v6.4.2 with the same code and same configuration without the need of adding the “Client Secret” manually.
Best,