Share via

teams custom application doubt

ryu 20 Reputation points
2025-11-26T14:12:27.5+00:00

Hi, I’d like some clarification on a doubt. If I publish a custom Microsoft Teams application and the server is running locally within my company’s internal network, will the app still function properly when accessed inside the company network?

Microsoft Teams | Development
Microsoft Teams | Development

Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs

0 comments No comments

Answer accepted by question author

Kudos-Ng 15,050 Reputation points Microsoft External Staff Moderator
2025-11-26T15:07:46.4266667+00:00

Hi ryu,

Thank you for posting your question in the Microsoft Q&A forum. 

Your custom Microsoft Teams app can work with an internal server only under specific conditions, and in other cases it will not function as expected. Here’s a detailed explanation:

When It Can Work:

  • Tab-based apps (personal, channel, or group tabs)
    Tabs in Teams are rendered as an <iframe> inside the Teams client (desktop, web, or mobile). The client fetches the contentUrl directly from the user’s device, not through Microsoft’s cloud.

Requirements:

  • HTTPS mandatory: All URLs must use HTTPS; HTTP is not supported.
  • Trusted certificate: Public CA or enterprise CA is fine, but self-signed certificates are not supported.
  • Manifest configuration: Internal domain must be listed in validDomains.
  • Network accessibility: Users must be on the corporate network or connected via VPN. Remote users without VPN will see a blank tab or error.

When It Will Not Work:

  • Bots, messaging extensions, or webhooks
    These components rely on callbacks from Microsoft’s cloud services. If your backend is not publicly accessible, these features cannot receive events.
  • Complex authentication flows
    If your app uses cloud-based SSO or token exchange, ensure the internal endpoint supports these flows without breaking inside an iframe.

If you need the app to work for remote users or include bot functionality, Microsoft recommends publishing the internal app securely using Microsoft Entra Application Proxy or a similar reverse proxy solution. This provides:

  • A public HTTPS endpoint without opening inbound firewall ports.
  • Integration with Entra ID for secure access and SSO.

Official guidance:

Hope this help.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. AI answer

    2025-11-26T14:12:33.7733333+00:00

    Yes, if you publish a custom Microsoft Teams application and the server is running locally within your company’s internal network, the app can still function properly when accessed inside the company network. However, it is essential to ensure that the app is accessible via HTTPS and that the necessary configurations are in place for it to communicate with the Teams client. Additionally, you must enable custom app uploading in Teams and ensure that your app package is correctly set up and validated for use within your organization.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.