title: Processing SSAS tabular model fails in sql agent
body: <p>I have a new SSAS 2016 tabular model (1200 compatibility level).  I am trying to set up a SQL Agent job to process the model daily.  However, when the job runs, it is throwing the following error:</p>
  
  <blockquote>
    <p>XmlaException.  The { text node at line 7, column 17 cannot appear
    inside the Command element (namespace
    urn:schemas-microsoft-com:xmla-analysis) under Envelope/Body/Execute. 
    This element can only have text nodes containing white-space
    characters.</p>
  </blockquote>
  
  <p>The command is:</p>
  
  <pre><code>{
    "refresh": {
       "type": "full",
       "objects": [
         {
           "database": "Finance"
         }
        ]
     }
  }
  </code></pre>
  
  <p>This works ok when I execute it in SSMS, but fails when run via a SQL agent job.</p>