title: AzureRM Automation DSC Configuration
body: <p>I'm trying to configure Azure DSC Configuration, but I am running into two issues.</p>
  <ol>
  <li>I continue to get this error message</li>
  </ol>
  <ul>
  <li>Error = 'invalid character 'c' looking for beginning of value' JSON = 'configuration cdavdtest {}'*
  *2. No matter what I do to the resource azurerm_automation_dsc_configuration , it throws this command which is a reference to my last terraform plan / apply that failed. Changing the configuration does nothing, and the old error continues. I appreciate any help. See the cdavdtest in bold compared to the resource also in bold below.  Also the name doesn't update it still says dsc_config even though I updated it to dsc_configa.</li>
  </ul>
  <p>Error: making Read request on AzureRM Automation Dsc Configuration content &quot;cdavdtest&quot;: automation.DscConfigurationClient#GetContent: Failure responding to request: StatusCode=200 -- Original Error: Error occurred unmarshalling
  JSON - Error = 'invalid character 'c' looking for beginning of value' JSON = 'configuration <strong>cdavdtest</strong> {}'
  │
  │   with azurerm_automation_dsc_configuration.dsc_config,
  │   on automationaccount.tf line 17, in resource &quot;azurerm_automation_dsc_configuration&quot; &quot;dsc_config&quot;:
  │   17: resource azurerm_automation_dsc_configuration dsc_config {</p>
  <pre><code>resource azurerm_automation_account automation_account {
      name = &quot;${var.avd.name}-automationaccount&quot;
      location = azurerm_resource_group.rg.location
      resource_group_name = azurerm_resource_group.rg.name
      sku_name = &quot;Basic&quot;
  }
  
  output &quot;end_point&quot; {
      value = azurerm_automation_account.automation_account.dsc_server_endpoint
  }
  
  output registration_key {
      value = azurerm_automation_account.automation_account.dsc_primary_access_key
  }
  
  
  resource azurerm_automation_dsc_configuration dsc_configa {
      name = &quot;**test**&quot;
      location = azurerm_resource_group.rg.location
      resource_group_name = azurerm_resource_group.rg.name 
      automation_account_name = azurerm_automation_account.automation_account.name
      description = &quot;Configuration node for Azure Virtual Desktop&quot;
      content_embedded = &quot;Configuration **test** {}&quot;
      log_verbose = true
  }
  
  
  </code></pre>
  <p>I have tried commenting out the code and I still get the error. I've tried updating the name. I've tried using the &lt;&lt;BODY and writing out the configuration but this still persists.</p>