title: How do I disable Kudu (SCM) for a stopped Azure Web App using PowerShell?
body: <p>How do I disable Kudu (SCM) for a stopped Azure Web App using the Az.Websites PowerShell module?</p>
  
  <p>I tried this:</p>
  
  <pre class="lang-bsh prettyprint-override"><code>$app = Get-AzWebApp -Name $appName
  $app.ScmSiteAlsoStopped = $true
  Set-AzWebApp -WebApp $app
  
  $app = Get-AzWebApp -Name $appName
  $app.ScmSiteAlsoStopped
  </code></pre>
  
  <p>But it returns False.</p>