代码之家  ›  专栏  ›  技术社区  ›  David Long

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

  •  2
  • David Long  · 技术社区  · 7 年前

    我试图通过方法获取SSO令牌时出错 Office.context.auth.getAccessTokenAsync 中提到 this article .

    我在Outlook for the web客户端和Outlook Desktop客户端之间遇到了不同的错误。

    Outlook for the web:

    {
        "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 .

    1 回复  |  直到 7 年前
        1
  •  1
  •   Outlook Add-ins Team - MSFT    7 年前

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