We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aba590 commit 2f02befCopy full SHA for 2f02bef
1 file changed
Modules/CIPPHTTP/Public/Entrypoints/HTTP Functions/Tenant/Reports/Invoke-ListLicensesReport.ps1
@@ -66,6 +66,13 @@ function Invoke-ListLicensesReport {
66
}
67
68
69
+ # Strip the Term property from each TermInfo entry before returning
70
+ foreach ($Result in $GraphRequest) {
71
+ if ($Result.TermInfo) {
72
+ $Result.TermInfo = @($Result.TermInfo | Select-Object -Property * -ExcludeProperty Term)
73
+ }
74
75
+
76
$Body = [PSCustomObject]@{
77
Results = @($GraphRequest)
78
Metadata = $Metadata
0 commit comments