Sucessfully queries the azure monitor service. Workspace not found. While using azuremarket place Grafana

I'm trying to use azure monitor as a data source for grafana. The grafana server was created from Azure Marketplace. I used Service Principal for authentication and while clicking the 'save and test' button, I get the following error"

' 1. Successfully queried the Azure Monitor service. 2. Workspace not found. '

Can you please help me with this issue? Thank you.


Solution 1:

Adding a Azure App Insights resource to the monitored Subscription solved the problem. On this step the first Monitoring Workspace for the Subscription was created. On an older Resource I had to migrate to Workspace-based Application Insights to fix the error. It seams Grafana only works with the new Workspace-based Application Insights resources