【问题标题】:Connecting Workflow Manager with SharePoint 2019 error将 Workflow Manager 与 SharePoint 2019 错误连接
【发布时间】:2020-07-10 21:04:33
【问题描述】:

当前配置:

  • 1 SharePoint 2019 场(单服务器安装)
  • 3 个 Workflow Manager 服务器
  • Workflow Manager 服务器负载平衡
  • Workflow Manager 设置为仅在 https 上工作
  • 具有 DNS=*.domain.com 和所有 3 个服务器名称的 Workflow Manager SSL 证书
  • 所需权限已到位
  • URL(SharePoint Web 应用程序/站点和 wfm)可通过两种方式访问​​

使用场管理员帐户运行: 注册-SPWorkflowService -SPSite "https://siteurl" -WorkflowHostUri "https://wfmurl:12290/" -Force -Verbose 抛出以下错误:

Register-SPWorkflowService:无法在 URI 'https://webappurl/_layouts/15/metadata/json/1' 处查询 OAuth S2S 元数据端点。错误详细信息:'反序列化时出错 Microsoft.Workflow.Management.Security.OAuthS2SJsonMetadataDocument+JsonMetadataDocumentContract 类型的对象。遇到意外的字符 'https://webappurl ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (Microsoft.Share...WorkflowService:RegisterSPWorkflowService) [Register-SPWorkflowService], InvalidRequestException + FullyQualifiedErrorId : Microsoft.SharePoint.WorkflowServices.PowerShell.RegisterSPWorkflowService

感谢任何输入。

【问题讨论】:

    标签: sharepoint-workflow sharepoint-2019 workflow-manager-1.x


    【解决方案1】:

    这与安装 2020 年 4 月 CU KB 4484292 和 KB 4484291 的帖子有关。

    在与 MS 首席现场工程师通话后,问题已解决,如 http://thewindowsupdate.com/2020/06/04/sharepoint-2019-issue-with-sharepoint-2013-workflows-post-april-2020-cu/

    您需要删除现有的 SPTrustedSecurityTokenIssuer 并像下面这样注册它

    1. 删除-SPTrustedSecurityTokenIssuer -Identity 9854855e-cea8-457f-8293-e405d4055ffb

    (来自 Get-SPTrustedSecurityTokenIssuer 集合的 ID)

    1. New-SPTrustedSecurityTokenIssuer -Name "00000005-0000-0000-c000-000000000000" -MetadataEndPoint 'http://server:12291/$System/$Metadata/json/1' -RegisteredIssuerName "00000005-0000-0000-c000 -000000000000@*"

    New-SPTrustedSecurityTokenIssuer -Name "00000005-0000-0000-c000-000000000000" -MetadataEndPoint 'https://server:12290/$System/$Metadata/json/1' -RegisteredIssuerName "00000005-0000-0000-c000 -000000000000@*"

    PS这里没有任何问题

    删除-SPTrustedSecurityTokenIssuer

    容易上手

    【讨论】:

      【解决方案2】:

      谢谢! 最后,看起来 F5 负载平衡存在一些问题。作为测试,我们在主机文件中添加了 WFM 的 URL,之后连接工作正常。这已移交给管理 F5 的团队,他们最终解决了这个问题。

      【讨论】:

        猜你喜欢
        • 2014-07-03
        • 2021-05-01
        • 1970-01-01
        • 2015-12-30
        • 1970-01-01
        • 2013-01-15
        • 1970-01-01
        • 1970-01-01
        • 2020-12-07
        相关资源
        最近更新 更多