I have previously got a rich client authenticating with Windows 2012 R2 ADFS and documented it here. We are moving to Windows 2016 RTM ADFS (because 2012 R2 does not support Web Apps/ADAL.js properly) and I am struggling to translate/extend that config to work. Whatever I do, I get an error was soon as the client hit ADFS:
MSIS9321: Received invalid OAuth request. The client 'LL957F23-D6C5-4D52-8A40-4F26B3408888' is forbidden to access the resource '<relying-party-url>'
I've found several responses to this problem for preview versions of ADFS 2016, and all suggest the same solution - to setup the Relying Party using powershell and specify the following option:
-IssuanceAuthorizationRules '=> issue(Type = "http://schemas.microsoft.com/authorization/claims/permit", Value = “true”);'
However, I have taken the exact code shown by those solutions and tried both manually setting the Access Control Policy to "Permit Everyone" (the default) and alternatively using the -IssuanceAuthorizationRules setup, and neither solves this problem.
Does anyone have other solutions for this error or experience with ADFS on Win 2016 RTM?