Hi,
I`m trying to publish Work Folders using Web Application Proxy based on this guide.
When trying to set up Work Folders on Windows 8.1 clients (1 domain-join, 1 in workgroup) I get the following error:
[Window Title]
Work Folders
[Main Instruction]
There was a problem finding your Work Folders server
[Content]
Make sure that you have the correct Work Folders URL. If this problem persists, email your organization's tech support.
[^] Hide details [Close]
[Expanded Information]
The sync server needs the user's current user name and password.
(0x80c80300)
In the Web Application Proxy/Admin event log on the Web Application Proxy server I see the following logged at the time of the failed Work Folders configuration attempt:
Web Application Proxy received a request with a nonvalid edge token. The token is not valid because it could not be parsed.
Error: Edge Token validation failed. Failed to serialize JSON object. Exception: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. . Token:
eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IlBsLU52VDhVRmNVaExURlNaWDhDdjh4UlRMbyJ9.eyJhdWQiOiJodHRwczovL1dpbmRvd3MtU2VydmVyLVdvcmstRm9sZGVycy9WMSIsImlzcyI6Imh0dHA6Ly9zdHMubGFiLmNyYXlvbi5jb20vYWRmcy9zZXJ2aWNlcy90cnVzdCIsImlhdCI6MTM4ODYyODgyNywiZXhwIjoxMzg4NjMyNDI3LCJ1cG4iOiJhZG1famFucmluZ0BjcmF5b25sYWIubm8iLCJ1bmlxdWVfbmFtZSI6ImFkbV9qYW5yaW5nIiwiZ2l2ZW5fbmFtZSI6ImFkbV9qYW5yaW5nIiwiaXNyZWdpc3RlcmVkdXNlciI6InRydWUiLCJkZXZpY2VpZCI6ImVmMTdiNmY5LTZkODctNDMwNS1iNjEwLTU0MzQwZTlmMWZkYSIsImF1dGhtZXRob2QiOiJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvYXV0aGVudGljYXRpb25tZXRob2Qvd2luZG93cyIsImF1dGhfdGltZSI6IjIwMTQtMDEtMDJUMDE6NTA6NDQuMzQyWiIsInZlciI6IjEuMCIsImFwcGl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InZlciI6IjEuMCIsImFwcGlkIjoiMTY4RjNFRTQtNjNGQy00NzIzLUE2MUEtNjQ3M0Y2Q0I1MTVDIn0.ksBY9ESYGdOvtciexoM_0ow4Rds3bCer0wuJZmtP-c2JXjXIgVzWGu-F1Tg8zNuB1k9b9FzDq9ulUNjw6_KKsnuWKNpYl4HF3ahlLbjppoe_vIg48_l6Gkswk4NQUQ4xqZjlA_huB0FOPkrUfx_-oeZ5jYy7kk26TwyqGAx63Fa5EowJozlC3hkQrfEdVU_7hTM0cZnHcI9jcj5Ga5rjoA472aM82ZYA5JvzdYIzEPGOEVsP9DvPm_z-PUMMbnAsdKk77ZJtoz1q6_IKDOAiQhEIONS2d11m6lhcqQNt8aX43yi74ToCDhEuM2I3Ij97fJbh669kWQmOQqZ5xHxnDQ
Details:
Transaction ID: {5a8eb154-06f4-0001-b1c3-8e5af406cf01}
Session ID: {5a8eb154-06f4-0001-b1c3-8e5af406cf01}
Published Application Name: WorkFoldersDiscovery
Published Application ID: EC64138D-1A34-CCF6-D02B-274FDB20D556
Published Application External URL: https://workfolders.contoso.com/
Published Backend URL: https://workfolders.contoso.com/
User: <Unknown>
User-Agent: MS_WorkFoldersClient
Device ID: <Not Applicable>
Token State: Invalid
Cookie State: NotFound
Client Request URL: https://workfolders.contoso.com/sync/1.0/discover/serverurl
Backend Request URL: <Not Applicable>
Preauthentication Flow: PreAuthWindowsStoreApp
Backend Server Authentication Mode:
State Machine State: Idle
Response Code to Client: <Not Applicable>
Response Message to Client: <Not Applicable>
Client Certificate Issuer: <Not Found>
For testing purposes I put workfolders.contoso.com in the hosts file of the test-clients, pointing to the IP of the Web Application Proxy. If I remove the hosts file entry, I can configure Work Folders without any issues. Thus Work Folders on the file server as well as authentication on the AD FS server is working fine.
Any idea what might be the problem?