문제

현재 "잘못된 JWT 토큰이 발생합니다. 새 SP2013 워크 플로우 인스턴스를 시작하려고 할 때 발급자 토큰" (401 오류)을 해결할 수 없습니다.

i는 이미 WF 팜을 삭제하고 다시 만들었고 SP에 다시 등록했습니다. SharePoint 디자이너로 워크 플로를 만들고 게시 할 수 있습니다. 새 인스턴스를 시작할 때 시작하지만 실패합니다. Fiddler에서는 오류 메시지가있는 401 개의 오류가 많이 볼 수 있습니다. LocalHost를 탐색 할 때 : 12291 나는 403을 얻을 수 있습니다 - 브라우저를 관리자로 실행할 때 워크 플로 서비스가 제공하는 XML에 액세스 할 수 있습니다. 사용자 프로필 서비스가 실행 중이며 문제없이 동기화됩니다. 이미 여러 개의 완전한 동기화를 실행했습니다.

이벤트 로그에서 오류 메시지가 없습니다. ULS 로그에서 없음. 디버그 테이블은 " http://sp.dev/sites/test/_vti_bin/client.svc/web/lists/getbyid (GUID '2F523828-6687-43828-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