A cross-platform toolchain for developing, building, running, and publishing .NET applications.
The error indicates that the ARM template for the CCF resource is missing a required property named contentSchemaVersion under properties.
In the Microsoft.DeviceRegistry schemaRegistries/schemas/schemaVersions ARM resource definitions, the only required property inside properties is schemaContent:
{
"type": "Microsoft.DeviceRegistry/schemaRegistries/schemas/schemaVersions",
"apiVersion": "<appropriate-version>",
"name": "string",
"properties": {
"description": "string",
"schemaContent": "string"
}
}
There is no contentSchemaVersion field defined for this resource type in the available API versions, so the error is coming from a different resource type or a higher-level CCF definition that is not shown in the context.
To resolve the error, ensure that in the specific CCF resource where the error is raised, the properties object includes a contentSchemaVersion field with a valid value, for example:
"properties": {
"contentSchemaVersion": "1.0.0",
... other required properties ...
}
Also verify that the correct apiVersion and resource type are used for that CCF resource, and that all required properties for that type are present.
References:
- Microsoft.DeviceRegistry schemaRegistries/schemas/schemaVersions 2025-10-01 (deployment-language-arm-template)
- Microsoft.DeviceRegistry schemaRegistries/schemas/schemaVersions 2026-04-01 (deployment-language-arm-template)
- Microsoft.DeviceRegistry schemaRegistries/schemas/schemaVersions 2026-03-01-preview (deployment-language-arm-template)
- Microsoft.DeviceRegistry schemaRegistries/schemas/schemaVersions 2025-07-01-preview (deployment-language-arm-template)
- Microsoft.DeviceRegistry schemaRegistries/schemas/schemaVersions 2024-09-01-preview (deployment-language-arm-template)
- Microsoft.DeviceRegistry schemaRegistries/schemas/schemaVersions 2026-11-01-preview (deployment-language-arm-template)
- Microsoft.DeviceRegistry schemaRegistries/schemas/schemaVersions (deployment-language-arm-template)
- SchemaVersionProperties interface