【发布时间】:2021-11-28 16:09:14
【问题描述】:
我们使用 Teams Toolkit 构建了一个 Teams 选项卡。尝试在云中进行配置时,我看到以下错误:
[Error] - Failed to update Application ID URI in Azure Active Directory. Please refer to the help link for further steps., Request failed with status code 500 Detailed error: Request failed with status code 500. Reason: Values of identifierUris property must use a verified domain of the organization or its subdomain: '{storageName}.z13.web.core.windows.net
我将应用程序 ID URI 设置为 https://{tenant}.onmicrosoft.com/{appId}
Azure 中有一个存储位置,{storageName}.z13.web.core.windows.net。
当我点击“云端供应”时,进程会尝试将应用程序 ID URI 更改为 api://{storageName}.z13.web.core.window.net/{appId}。
尝试将 Azure 门户中的应用程序 ID URI 更改为 api://{storageName}.z13.web.core.window.net/{appId} 会导致与预配过程中看到的完全相同的错误。
我是否必须不使用提供的存储位置来配置应用程序?
有没有办法在https://{tenant}.onmicrosoft.com/{appId} 创建存储?
【问题讨论】:
-
您如何在云中进行配置?您是否使用 ARM 模板来创建资源?如果是,您可以参考下面的 ARM 模板:github.com/OfficeDev/microsoft-teams-apps-faqplus/blob/master/…
-
看起来您使用的应用程序 ID URI 格式错误。它应该如下所示: api://app Domain/{BotID} 示例: api://newhireonbxxx.azuredfd.net/c6c1f32b-xxxx-49xx-xxxx-753cc1d563b7
-
我正在使用 Visual Studio Code 的 Teams Toolkit 扩展,并单击“部署”下的“云端供应”选项。没有botId。我使用的 ID 是 Azure App ID。
-
identifierUris 是用户定义的 URI,用于在其 Azure AD 租户内或在经过验证的自定义域(如果应用程序是多租户)内唯一标识 Web 应用程序。您能否重新验证应用程序的 identifierUris 是否驻留在租户中?请参考下面这个问题,它在类似的行:github.com/MicrosoftDocs/windows-uwp/issues/1717
标签: microsoft-teams teams-toolkit