Hi,
Is there a way to list all user accounts that are service accounts?
We occasionally turn off the MFA to do things with Powershell in veeam. To prevent us from forgetting to turn MFA back on, I want to check and report this every night.
thanks
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Jan 22, 2024 11:54 am
- Contact:
-
- Veeam Software
- Posts: 2750
- Liked: 630 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: List Service Accounts
Hi shorn, welcome to the forums.
Just to confirm, when you talk about service accounts, you're talking about the accounts added to Veeam as shown here?
If so, unfortunately there are no supported cmdlets for this, but you can use the Unsupported Methods in this thread. I think that should help with your safety check on which accounts do and do not have MFA enabled.
Please note that right now there is not a means (supported or unsupported) to disable/enable MFA from powershell. (Unsupported way will cause many issues, so will not be sharing it due to the risk of damage).
Just to confirm, when you talk about service accounts, you're talking about the accounts added to Veeam as shown here?
If so, unfortunately there are no supported cmdlets for this, but you can use the Unsupported Methods in this thread. I think that should help with your safety check on which accounts do and do not have MFA enabled.
Please note that right now there is not a means (supported or unsupported) to disable/enable MFA from powershell. (Unsupported way will cause many issues, so will not be sharing it due to the risk of damage).
David Domask | Product Management: Principal Analyst
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Jan 22, 2024 11:54 am
- Contact:
Re: List Service Accounts
Hi david,
perfect, that works fine for me.
Thanks you
perfect, that works fine for me.

Thanks you
-
- Veeam Software
- Posts: 2750
- Liked: 630 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: List Service Accounts
Glad I could help! Good luck with scripting.
David Domask | Product Management: Principal Analyst
Who is online
Users browsing this forum: No registered users and 6 guests