質問

現在、エラー「無効なJWTトークンを取得します。新しいSP2013ワークフローインスタンスを起動しようとすると、発行者トークンが「(401エラー)を解決できませんでした。

既にWFファームを削除して再作成しました(そしてSPに再登録されました)。 SharePoint Designerを使用してワークフローを作成して公開できます。新しいインスタンスを起動すると起動しますが、失敗します。フィドラーでは、このエラーメッセージを使用して401のエラーがたくさん見えます。 LocalHostへの閲覧時:12291 A 403を入手します - ブラウザを管理者として実行すると、ワークフローサービスによって提供されるXMLにアクセスできます。 ユーザープロファイルサービスが実行されていて、問題なく同期されています。私はすでに複数のフルシンクチを実行しました。

イベントログにエラーメッセージが見つかりません.ULSログにはなしではありません。デバッグテーブルは、「HTTPリクエストの試行2」を「 http://sp.dev/sites/test/_vti_bin/client.svc/web/lists/getByID(GUID '2F523828-6687-43F1-A5B7-AF144FEA8739') ') 00:00:06。 "すべての401エラー。

システムをリセットする方法どのようにしてテストをしますか?

役に立ちましたか?

解決

I have just had the same issue in my environment. In my case I have HTTP enabled on the workflow farm. During re-install the workflow farms HTTP endpoint disappeared (you can run the Get-WFFarm PowerShell command and check the Endpoints there).

So the solution in my case was to properly configure the HTTPS endpoint and than re-register the workflow farm with SharePoint. The snippet below assumes that you have exported the SSL certificate from the workflow manager IIS web site to c:\wfm.cer.

$cert = Get-PfxCertificate "c:\wfm.cer" 
New-SPTrustedRootAuthority -Name "Workflow Manager Farm" -Certificate $cert
Register-SPWorkflowService -SPSite "http://dev.sharepoint.com" -WorkflowHostUri "https://devmachine.devdomain.local:12290" -Force

I order to get debugging for this issue configured in the ULS log you can modify the Diagnostic logging settings in Central Administration. Set the following in SharePoint Foundation category to Verbose: App Auth, Application Authentication, Authentication Authorization, Claims Authentication, CSOM.

他のヒント

This issue can sometimes (every time in my experience) be addressed by running the "Refresh Trusted Security Token Services Metadata feed" -- just look under "Timer Jobs" under "Monitoring" in Central Administration.

This is one of those timer jobs which runs infrequently (in this case once per day, usually at midnight), so unless you kick it off explicitly it can be a mystery when things that don't run one day run the next.

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top