Grafana added Azure data source error

There is an error when grafana adds Azure Monitor data source, showing Unexpected token ‘u’, “unexpected”… is not valid JSON, but I confirmed that the IDs are correct, and connecting to the api shows RESPONSE 401 Unauthorized. Is there any help here?

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

  • What are you trying to achieve?

  • How are you trying to achieve it?

  • What happened?

  • What did you expect to happen?

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

I confirmed that the Azure subscription has permissions

This problem has troubled me for a long time. I hope someone has the same experience and solution, thank you!

Whats version of Grafana did you use and did you use correct steps of configure connection datasource to Azure account?