<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>himanago</author_name>
  <author_url>https://blog.hatena.ne.jp/himanago/</author_url>
  <blog_title>himanago</blog_title>
  <blog_url>https://himanago.hatenablog.com/</blog_url>
  <categories>
    <anon>Microsoft Azure</anon>
    <anon>Azure Functions</anon>
  </categories>
  <description>前置き Azure Functions の HTTP トリガーの関数では、API キーを関数 URL のクエリストリング（code）に入れて実行しますね（承認レベルが匿名の場合は不要）。 https://example.azurewebsites.net/api/Function1?code=xxxxxxxx この API キーを間違えたり、渡さなかったりすると 401 エラーが出るわけですが、今回はこのキーを間違えていないはずなのに 401 エラーが出てしまうケースを紹介します。 401 エラーになるコード 以下のような関数のコードを見てください。 承認レベルは Function で、関数ご…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhimanago.hatenablog.com%2Fentry%2F2020%2F05%2F14%2F232355&quot; title=&quot;Azure Functions の HTTP トリガーで、キーが間違っていないのに 401 エラーとなってしまうケース - himanago&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-14 23:23:55</published>
  <title>Azure Functions の HTTP トリガーで、キーが間違っていないのに 401 エラーとなってしまうケース</title>
  <type>rich</type>
  <url>https://himanago.hatenablog.com/entry/2020/05/14/232355</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
