Skip to main content

Why does Microsoft Teams sign-in fail on a self-hosted help desk? - Knowledgebase / Q&A / Integrations & API - Deskpro Support

Why does Microsoft Teams sign-in fail on a self-hosted help desk?

Authors list
  • Kim

If signing in from the Microsoft Teams app fails with Authentication Failed ... Internal Server Error, Deskpro's Teams service probably can't reach your help desk. The Teams app connects to your help desk over the internet, so it must be reachable from the internet.

What the Teams app needs

  • Your help desk must be reachable from the internet on HTTPS (port 443).

  • At a minimum, these paths must be reachable:

/oauth/authorize
/oauth/token
/api/v2/
  • The Teams service has no fixed IP addresses. You can't limit access to Deskpro IP addresses.

  • Enter the Help Desk URL without a trailing slash.

If your help desk is internal only

The Teams app won't work if your help desk can't be reached from the internet. You have other options:

  • Post ticket updates to a Teams channel: use the Teams Workflow Send webhook alerts to a channel. Then use a Deskpro trigger with a Call Web Hook action. This only needs your Deskpro server to reach Teams outbound.

  • Act on Teams replies or reactions, for example to resolve a ticket: create an inbound webhook in Deskpro. Then use a tool on the Teams side, such as Power Automate, to call it. Microsoft's cloud must be able to reach your help desk for this to work.


Helpful Unhelpful