Product: PowerShell Universal
I removed the powerShellUniversal.url and samplesdirectory to put them in Connections with the same results. This isn’t a firewall issue neither as I can access the dashboard from my browser and log in. Any suggested way to troubleshoot?
In case it helps, here’s how a working settings.json appears on my end.
Thanks for the quick troubleshoot, the problem persists so I assume nothing should be wrong with the json. For the app token I’m using the following:
The Identity is Admin and it’s default created token. How to proceed to find where the problem persists?
BTW my PSU is installed in a remote host, a cloud-hosted Linux, while in my localhost I only have VSCode extension for PSU. Is that the problem? Do I need PSU in my localhost too?
@adam I can’t remember, is a developer/enterprise license required this type of remote/authentication workflow? OP’s screenshot shows the instance is unlicensed, was wondering if that would prevent VSCode extension from working with a remotely hosted PSU instance.
The VS Code extension works with unlicensed instances so that shouldn’t be the problem.
One thing I would suggest would be to try and created a new app token with just the Administrator role to see if that changes the behavior.
The other thing you can do is see if there are any errors in VS Code. The Extension Host log may have an error thrown by the PSU extension with more info.
@aaarkid , Have you tried Connect-PSUServer from the command line? Trying to connect this way might reveal more about the root cause.