Microsoft Teams
Troubleshoot common Microsoft Teams integration errors and choose the next action.
Use this page to troubleshoot common Microsoft Teams integration errors and choose the next action.
| Error message | Likely meaning | Recommended next steps |
|---|---|---|
| WorkflowTriggerIsNotEnabled","message":"Could not execute workflow trigger 'manual' with state 'Suspended': trigger is not enabled | WorkflowTriggerIsNotEnabled (trigger suspended) | The workflow is turned off. Ask the Teams or Power Automate admin to turn it on.If the workflow was recreated, update the integration with the new workflow link. Then reconnect the integration and try again. |
| Webhook URL is not updated | Create a new Teams webhook or Flow URL and paste it into the integration. Then reconnect the integration and try again. | |
| end of file reached | The Teams integration sent or received a malformed or truncated payload, so parsing stopped unexpectedly at the end of the input. | |
| Failed to open TCP connection to :80 (Connection refused - connect(2) for nil port 80) | The Teams integration tried to connect to an HTTP endpoint on port 80, but the host or URL was missing or incorrect, so the connection was refused. | Verify the integration’s target URL, hostname, and port. Use the correct Teams webhook or API URL, typically HTTPS on port 443, and make sure outbound access is allowed. |
{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}} | The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token. | Open the Power Automate flow or Teams workflow and go to the trigger, usually When an HTTP request is received.Check Who can trigger the flow. For a webhook integration, set it to Anyone, save the flow, copy the newly generated URL, and update it in the integration.If the trigger is set to Any user in my tenant or Specific users in my tenant, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience. |
<td style={{ textAlign: "left" }}>
<code>{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}</code>
</td>
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
{`{"error":{"code":"DirectApiAuthorizationRequired","message":"The OAuth authorization scheme is required. Please add authentication scheme and try again."}}`}
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint is protected by OAuth, but the integration is calling it as a webhook without an OAuth bearer token.
</td>
<td style={{ textAlign: "left" }}>
Open the Power Automate flow or Teams workflow and go to the trigger, usually <strong>When an HTTP request is received</strong>.
Check <strong>Who can trigger the flow</strong>. For a webhook integration, set it to <strong>Anyone</strong>, save the flow, copy the newly generated URL, and update it in the integration.
If the trigger is set to <strong>Any user in my tenant</strong> or <strong>Specific users in my tenant</strong>, Microsoft requires the caller to send an OAuth bearer token with the correct claims and audience.
</td>
</tr>
DirectApiAuthorizationRequired: The OAuth authorization scheme is required
<td style={{ textAlign: "left" }}>
The Teams or Power Automate endpoint requires OAuth, but the integration is calling it as a webhook.
</td>
<td style={{ textAlign: "left" }}>
In the flow trigger, set <strong>Who can trigger the flow</strong> to <strong>Anyone</strong>. Save the flow, copy the new URL, update the integration, and try again.
</td>
</tr>
