Outlook SSO 令牌错误 13003 - 不支持用户的身份类型

Outlook SSO token error 13003 - The identity type of the user is not supported

当我尝试通过 this article 中提到的方法 Office.context.auth.getAccessTokenAsync 获取 SSO 令牌时出现错误。

我在 Outlook 网页版和 Outlook 桌面客户端之间收到不同的错误。

网页版 Outlook:

{
    "name": "User identity type is not supported.",
    "message": "The identity type of the user is not supported.",
    "code": 13003
}

Outlook 桌面版 (16.0.8201.2207 32-bit):

{
    "name": "API Call Failed",
    "message": "Invalid input arguments.",
    "code": 5013
}

我已经尝试过的东西:

  1. 注册了我的加载项并为所有用户提供了管理员许可

  2. 正在更新加载项清单以包含 WebApplicationInfo 元素。

  3. 已启用 modern auth this article 建议:

我的账户是管理员,类似于david@thirdpartyxx.onmicrosoft.com

感谢您与我们联系。 您使用的是旧版本的桌面 Outlook(16.0.8201.2207 32 位) https://github.com/officedev/office-add-in-nodejs-sso 推荐 Office 2016,版本 1710,内部版本 16.0.8605.1000 点击 运行 或更高版本。如果您继续遇到构建 8605 或更高版本的问题,您可以尝试一下并告诉我们吗?在 OWA 中它尚未发布 - 即将发布。