How to use variables in alerts message while creating alert in Grafana(v 8.5.6) using Azure Monitor as a datasource?

I want to create an alert in Grafana (v 8.5.6)and I am using AzureMonitor as a datasource. While creating the alert I am not able to use Resource group, Resource name, or Metric Name in the message field of the alert. How to get these values populated using variables in the message field.

Any help is highly appreciated.

Can you confirm: are you using the new Grafana Alerting platform (first released in Grafana 8) or the legacy alerting platform? I should note that the legacy platform is no longer actively developed:

also, see this thread: