title: How to override web.config values in custom section in Azure Web App?
body: <p>It is possible in Azure Web App to override web.config AppSettings section easily. E.g. if I have the following web.config:</p>
  
  <pre><code>&lt;appSettings&gt;   
      &lt;add key="AllowedCORSOrigin" value="http://localhost:26674"/&gt;
  &lt;/appSettings&gt;
  </code></pre>
  
  <p>I can override it in the app settings UI in the portal like that:</p>
  
  <p><a href="https://i.stack.imgur.com/MR747.png" rel="nofollow"><img src="https://i.stack.imgur.com/MR747.png" alt="enter image description here"></a></p>
  
  <p>I have also a custom section in the web.config:</p>
  
  <pre><code>&lt;AdWordsApi&gt;
      &lt;add key="OAuth2RefreshToken" value="TOKEN" /&gt;
  &lt;/AdWordsApi&gt;
  </code></pre>
  
  <p>Is it possible to override it somehow as well? I have tried <code>AdWordsApi.OAuth2RefreshToken</code> and <code>AdWordsApi:OAuth2RefreshToken</code>, but that does not work that easily.</p>
  
  <p>P.S. It's interesting to know if it's possible with other custom sections like e.g if I want another authentication mode on the server. </p>
  
  <pre><code>&lt;system.web&gt;
      &lt;authentication mode="None" /&gt;
  &lt;/system.web&gt;
  </code></pre>