Access to Azure Log Analytics: Forbidden:


I deployed grafana in azure from the marketplace and after following the documentation I successfully access to Metrics in Azure Monitor but not to the Log Analytics workspace. Here is the output of the connection test : 1. Successfully queried the Azure Monitor service. 2. Azure Log Analytics: Forbidden: InvalidTokenError. The provided authentication is not valid for this resource

I checked twice that my config is as described in the documentation and it is. Any help will be greatly appreciated!

I figured out that I made a mistake when choosing the Log Analytics API. I am in a particular case where several Log Analytics API were available. After choosing the good one everything worked.