Forum Discussion

ThomasPe's avatar
ThomasPe
Copper Contributor
Jun 10, 2025

Change Teams App Domain

I have a multi tenant app available in the Teams App store. I have to change the domain for that app due to Azure CDN Standard from Microsoft (classic) being retired. Instead of a ".azureedge.net" domain I'd like to use my own subdomain going forward.

To prevent service disruptions I would like to host the app frontend on two domains simultaniously and then change the domain in a manifest update. 

However, it seems the App Registration Resource (Application ID URI) needs to contain the domain name for Teams to allow access to the app, otherwise I get the following error message:

 

 Get SSO token failed with error: App resource defined in manifest and iframe origin do not match

Creating a new app registration would mean every customer would need to grant access again to my app registration.

What is the recommended approach to changing domains for a Teams app?

3 Replies

  • Yes, the domain in the Application ID URI must match what's in Teams.

    Host both domains, keep the old URI until you update the manifest, then switch the URI.

  • @ThomasPe - You must update the Application ID URI and manifest, and customers will need to re-consent. There is no way to avoid re-consent when changing the domain in a multi-tenant Teams app. Host both domains during the transition to minimize disruption.

    Thanks, 

    Nivedipa

    --------------------------------------------------------------------------------------------------------------------- 

    If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 

    • ThomasPe's avatar
      ThomasPe
      Copper Contributor

      thanks for clarifying. 

      do I need to expect any issues when swtichig the teams app to a different app registration? I'm currently having issues in debug authenticating against the new app with my updated manifest, just want to make sure customers are not experiencing similar issues.

Resources