title: Unknown Error when sending/replying to message on MS Teams using Graph API
body: <p>I am trying to send a message or reply to a message using Graph APIs for MS Teams. I have the correct permissions set and also have access to Protected APIs (if thats a concern).
  The APIs I use to send messages are for both channel and 1:1 chat message.</p>
  <p>POST URL Request:</p>
  <pre><code>https://graph.microsoft.com/beta/chats/{chat-id}/messages/{message-id}/replies
  https://graph.microsoft.com/beta/chats/{chat-id}/messages/
  https://graph.microsoft.com/beta/users/{user-id}/chats/{chat-id}/messages/
  https://graph.microsoft.com/beta/teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies
  https://graph.microsoft.com/beta/teams/{team-id}/channels/{channel-id}/messages
  </code></pre>
  <p>Permissions set are ChannelMessage.Send, Group.ReadWrite.All, ChatMessage.Send for both delegated and application level.</p>
  <p>I use a 2-step process to authorize the client /authorize and then /adminconsent.</p>
  <p>When trying to post message I always get &quot;UnknownError&quot; and empty message with 401 status code.</p>
  <pre><code>{
    &quot;error&quot;: {
      &quot;code&quot;: &quot;UnknownError&quot;,
      &quot;message&quot;: &quot;&quot;,
      &quot;innerError&quot;: {
        &quot;date&quot;: &quot;2020-07-10T04:58:06&quot;,
        &quot;request-id&quot;: &quot;ff58128b-585b-4242-99c4-011c8e537d94&quot;
      }
    }
  }
  </code></pre>
  <p>Is this some issue with my app or from MS graph side?</p>