maester icon indicating copy to clipboard operation
maester copied to clipboard

Get-MTUser -UserType Member sometimes returns administrative users

Open RobinDadswell opened this issue 10 months ago • 1 comments

From a regression testing perspective it would be great if we could use Get-MTUser -UserType 'Admin' and it return non-administrative accounts only. An alternative would be something along the lines of Get-MTUser -UserType 'NonAdmin' or Get-MTUser -UserType 'Standard'.

My reasoning behind this is to support an easier regression testing methodology as currently I am looking at populating a group with users for Non-Administrative MFA testing.

RobinDadswell avatar Apr 23 '24 12:04 RobinDadswell

You can now get administrative users with Get-MtRoleMember

merill avatar Jul 13 '24 15:07 merill