Product: PowerShell Universal Version: 5.x
Hi,
I have some scripts sharing information between them using PSUCache. 99.9% of the time there is no issue but sporadicaly, I have:
Unauthenticated. Specify an app token, use default credentials or enable permissive security model.
The “SecurityModel”: “Permissive” is set in appsettings.json and most of the time I do not have this issue.
I have 2 scripts:
I sometimes also have that issue with Invoke-PSUScript.
How to avoid this ?
Thanks
Are you calling *-PSUCache\Invoke-PSUScript with or without -Integrated?
Adam Driscoll
PowerShell Expert and Developer at Devolutions
Hi Adam,
No I am not using -Integrated. Should I ?
It would help isolate the issue. Integrated mode would bypass the need for an app token or internal auth at all. Give it a shot and see if it helps.
Adam Driscoll
PowerShell Expert and Developer at Devolutions