如何重定向到我的 Microsoft Teams 自定义应用程序中的另一个页面?

How do I redirect to another page in my custom app for Microsoft Teams?

我有一个简单的网络应用程序,我在 Teams 中显示为应用程序。我已经在 App Studio 中进行了设置,一切都如我所料,一切都很好。它正在显示我的网络应用程序,这就是我想要的。

在某些情况下,我需要重定向到不同域上的不同网络应用程序。在我的浏览器中从 Microsoft Teams 进行测试时,它工作正常。但是,当我在桌面应用程序中从 Microsoft Teams 进行测试时,当重定向应该发生时,屏幕只是变灰了。

我已将域添加到清单编辑器中的此对话框。

因为屏幕变灰,没有任何解释,我很难解决这个问题。

@NielsBrinch 能否请您看一下 Redirect across domains in a Microsoft Teams tab? Also please make sure that the tab you want to redirect to, is iframable and that it meets all the Requirements for tab