Windows Azure Monitor Agent documents are out-of-date

Ye Deng 0 Reputation points
2025-06-12T22:47:57.8+00:00

Hi,

I found the related MS documentations are kind of out-of-date.
https://learn.microsoft.com/en-us/azure/azure-monitor/vm/send-event-hubs-storage
The configuring scripts are not well maintained. Here below are part of the scripts

``

{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "location": { "type": "string", "defaultValue": "[resourceGroup().location]", "metadata": { "description": "Location for all resources." } }, "dataCollectionRulesName": { "defaultValue": "[concat(resourceGroup().name, 'DCR')]", "type": "String" }, ... ...

``

You see there are "type": "string" and "type": "String". The "type": "String" triggers syntax errors in VSCode based on official ARM template checker from MS. Would you please update the scripts, and give developers the most out-to-date scripts?

Regards,

Ye

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,658 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ashok Gandhi Kotnana 10,350 Reputation points Microsoft External Staff Moderator
    2025-06-13T10:03:18.6466667+00:00

    @Ye Deng

    The schema version specified in the ARM template is primarily used for validation and tooling support in environments like the Azure Portal. However, Microsoft recommends using the latest schema version when authoring templates in tools such as Visual Studio Code to ensure compatibility with the latest features and improved IntelliSense support.

    User's image

    Reference: https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/syntax#template-format

    let us know if any help, we will always help as you needed.!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.