0

我们使用 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}

4

2 回答 2

1

您可以按照文档为您的应用设置 CDN。

然后在配置阶段,Teams Toolkit 将您的 CDN 域用于 Application ID URI: api://{cdnName}.azureedge.net/{appId},这应该可以解决您的问题。

此外,如果 CDN 域也被视为未经验证的域,您可以将自定义域添加到您的 CDN。 如何将自定义域添加到 CDN 端点

于 2021-10-12T06:48:36.313 回答
0

我是 Microsoft Teams Toolkit 的开发人员,感谢您试用我们的新 Toolkit。此错误可能是因为 Azure AD 应用在“支持的帐户类型”中设置为多租户。

目前不支持多租户 Azure AD 应用。您可以按照以下步骤将 Azure AD 应用程序切换到 SingleTenant。

  1. 打开 Azure Protal ( https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps )
  2. 点击“应用注册”并找到您的应用
  3. 点击“Authentication”,在“Supported account types”中选择SingleTenant
于 2021-10-13T05:02:55.710 回答