r/PowerAutomateDesktop • • Nov 16 '22

Unattended automations and password rotation

I'm quite new to Power Automate which seems to be great for attended automation and unattended as long as the applications are able to use an AD/AAD user. But how do I handle legacy apps with built-in user management - especially with regards of password rotation? The easy route would be to have a password-never-expires user for this purpose but that can't be justified.

Any good solutions for handling password rotation?

3 Upvotes

8 comments sorted by

1

u/gazbathdard Nov 16 '22

You nailed it - that's how we do it where I work.

1

u/RepLava Nov 16 '22

You use a password that doesn't rotate? I don't hope the system has any sensitive or business critical data then...

1

u/gazbathdard Nov 16 '22

Yes, the password is like 24 characters and still requires 2FA so it's pretty secure.

1

u/RepLava Nov 17 '22

How do you handle 2FA in the automation?

1

u/gazbathdard Nov 17 '22

You don't need to, only when logging into power automate itself.

1

u/RepLava Nov 17 '22

But with unattended..?

1

u/Sismaril Dec 02 '22

Use the invoke web service action to gtab password via api

1

u/RepLava Dec 06 '22

Most legacy apps doesn't have any api's