Skip to content

Commit b0bcddf

Browse files
authored
Merge pull request #3148 from microsoftgraph/3122-delegated-permissions-mentioned-for-the-command-get-mgreportauthenticationmethoduserregistrationdetail
Removes sorting by unique name because it omits permissions with the same name but different permission type
2 parents 4a7e86d + 9627e34 commit b0bcddf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/PostGeneration/NewCommandMetadata.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ $ApiVersion | ForEach-Object {
138138
IsLeastPrivilege = $_.isLeastPrivilege
139139
}
140140
}
141-
$Permissions = $Permissions | Sort-Object -Property Name -Unique
142141
$Permissions = $Permissions | Sort-Object -Property PermissionType
143142
$Permissions = $Permissions | Sort-Object -Property IsLeastPrivilege
144143
[array]::Reverse($Permissions)

0 commit comments

Comments
 (0)