Runas Different User - Can't use Devolutions Cloud Data Source

Resolved

Runas Different User - Can't use Devolutions Cloud Data Source

avatar

As the title states, I am currently running into an issue. I currently need to use a separate (privileged) account when running powershell scripts. I have tried numerous ways to get it to work using my standard credentials (I have to sign into my main devices using my standard account and elevate when needed for security reasons). All of my attempts to set "session credentials" or using the "privileged credentials" have failed, so the only method I found that works is running Devolutions as a different user (with my privileged account credentials).

The main issue I am running into now is this. When I attempt to sign into my devolutions account, I cannot sign in unless I use an "application password" because the application is trying to open the browser. My theory is that it's trying to run the browser using the privileged account credentials but can't do that. It was fine for signing into my account because I could sign in using the application password, however, I can't sign into my "Devolutions Personal Hub" Data source this way. Is there any way I can achieve what I am trying to do here?

All Comments (3)

avatar

Hello emaiale,

Could you tell me if you tried to open RDM with a Run As Different user through a PowerShell session or if it's a PowerShell session Run As different in RDM?

Also, If you need to connect to a Hub Personal, you need a valid Devolutions account.
Is opening RDM with the local data source the same behaviour?

Also, could you explain why you want to connect with a privileged account when it can be used in RMD in your session?
What is the wanted behaviour?

Best regards,

Patrick Ouimet

avatar
Could you tell me if you tried to open RDM with a Run As Different user through a PowerShell session or if it's a PowerShell session Run As different in RDM?

I right clicked on the RDM application in the start menu and selected "Run as Different User". I have tried to create a scripting folder on my default profile and elevate the PowerShell session through your "Run as different User" option in both a powershell session AND PowerShell Script (local), but I could never get the scripts to run properly that way.

Also, If you need to connect to a Hub Personal, you need a valid Devolutions account.

I have a valid Devolutions account and I have successfully connected Hub Personal when opening RDM on my normal account. I don't believe this part is the issue.

Is opening RDM with the local data source the same behaviour?

Local Data Source works perfectly. No issues here. I can run all of my scripts. The only problem lies with trying to connect to the login web page while running RDM as a different user.

Also, could you explain why you want to connect with a privileged account when it can be used in RMD in your session?

I have tried to use my standard account and elevate it through a session, but for some reason it just does not want to work.

What is the wanted behaviour?

When it all comes down to it, I just want to run the application as the current user and only elevate the scripts as needed through the "session".



EDIT: So while I was going through all of your questions I decided to go back to the current user session so I could provide you with error messages I was receiving before but... It looks like it is now successfully working. Perhaps when I was updating my scripts my paths were changed to be more clear. Sorry about that, thank you for your help though!

avatar

Hello emaiale,

Thanks for this feedback.

I'm happy to know that this is working now.

Let us know if you have any other questions or issues about our product.
It's always a pleasure to help!

https://docs.devolutions.net/cloud/support-resources/technical-support/

Best regards,

Patrick Ouimet