...
** Replace “some-uid
“ with a client id. Use this client id in connection settings.
Microsoft doc link :
https://docs.microsoft.com/en-us/powershell/module/adfs/add-adfsclient?view=win10-ps
Obtaining refresh tokens from ADFS
...
This would issue access tokens with a lifetime of 10 minutes and refresh tokens to all clients with a lifetime of 14 days.
Microsoft doc link :
https://docs.microsoft.com/en-us/powershell/module/adfs/set-adfsrelyingpartytrust?view=win10-ps
https://docs.microsoft.com/en-us/powershell/module/adfs/set-adfsproperties?view=win10-ps