I set up a flow to automate the creating of network folders in our HR Employee files, but first it pings the network file to ensure the user is connected. If the ping fails or throws an error, it runs a subflow to connect to a pre-named VPN. If that fails because it's not set up, it runs another subflow to set up a new VPN, which I recorded on my desktop. I added an input by the user for their username and password, which creates two variables, then I pass those variables to the username and password fields for the VPN setup. The username variable has a default value that contains the domain for the VPN setup.
Can't figure out why the VPN keeps saying the username and password is incorrect when I test it. I've tried a few variations, including joining two variables for the domain. The variables are returned trimmed.
When I'm logged in to the VPN, everything works great. When I'm not logged in and the named VPN is present, it works fine. In fact, everything works when it ADDS the VPN, just not the username and password. I can manually enter my creds as DOMAIN\username then my password and it works, so the VPN settings are right.
Any ideas?
---------------
