We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1be86fb commit 954cf72Copy full SHA for 954cf72
module/EntraBeta/Microsoft.Entra.Beta/Users/Update-EntraBetaInvitedUserSponsorsFromInvitedBy.ps1
@@ -32,11 +32,11 @@ function Update-EntraBetaInvitedUserSponsorsFromInvitedBy {
32
}
33
34
if ($all) {
35
- $invitedUsers = Get-EntraBetaUser -Filter $guestFilter -All -ExpandProperty sponsors
+ $invitedUsers = Get-EntraBetaUser -Filter $guestFilter -All -Select Sponsors
36
37
else {
38
foreach ($user in $userId) {
39
- $invitedUsers += Get-EntraBetaUser -UserId $user -ExpandProperty sponsors
+ $invitedUsers += Get-EntraBetaUser -UserId $user -Select Sponsors
40
41
42
0 commit comments