How to create a machine configuration assignment using templates

The best way to assign machine configuration packages to multiple machines is using Azure Policy. You can also assign machine configuration packages to a single machine.

Built-in and custom configurations

To assign a machine configuration package to a single machine, modify the following examples. There are two scenarios for each tool.

  • Apply a custom configuration to a machine using a link to a package that you published.
  • Apply a built-in configuration to a machine, such as an Azure baseline.

See the following articles for examples of assigning configurations using different tools:

Next steps