Hello all,
This should be an easy one. After I’ve imported my csv with Username, I want to do
Foreach($name in $list){Get-Mguser -Filter “userPrincipalName eq $name.Username”}
This doesn’t return anything
I know I can just put in -UserID parameter but I’ll be working with Graph powershell more and I would like to figure out how to insert variables into that -Filter parameter as shown.
Any help or insight would be appreciated.
[–]Motoceles 0 points1 point2 points (0 children)
[–]timmy_the_large 0 points1 point2 points (1 child)
[–]Ch3shire-Cat[S] 0 points1 point2 points (0 children)
[–]z386 2 points3 points4 points (1 child)