title: Access OneDrive file with .svc extension using Microsoft graph API
body: <p>We have to access several OneDrive files using Microsoft graph API. This works well until we met some file whose name ends with <code>.svc</code> (they are regular files).</p>
  <p>We have a request that looks like:
  <code>https://graph.microsoft.com/v1.0/users/account@xxx.onmicrosoft.com/drive/root:/file.svc</code></p>
  <p>And it fails with a <code>400 Bad request</code> (all other requests succeed).</p>
  <p>We have tried the following, without success:</p>
  <ul>
  <li>Escape the dot <code>.</code> with <code>%2E</code></li>
  <li>I’ve seen that the <code>.svc</code> extension was stripped, so doubled it, the file name becomes <code>file.svc.svc</code></li>
  </ul>
  <p>How to encode a file name with a <code>.svc</code> extension so graph API accepts it? (There is a way for sure, since we managed to upload such a file)</p>