Skip to content

Commit eaed4f6

Browse files
committed
Update Invoke-ListApiTest.ps1
1 parent ed46141 commit eaed4f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core/Invoke-ListApiTest.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ function Invoke-ListApiTest {
3535
$Query = 'Resources | project name, type'
3636
$Json = ConvertTo-Json -Depth 10 -Compress -InputObject @{ query = $Query }
3737
$Request = New-CIPPAzRestRequest -Method POST -Resource 'https://management.azure.com/' -Uri 'https://management.azure.com/providers/Microsoft.ResourceGraph/resources?api-version=2022-10-01' -Body $Json
38+
$Response.ResourceGraphTest = $Request
3839
}
3940
$Response.AllowedTenants = $script:CippAllowedTenantsStorage.Value
4041
$Response.AllowedGroups = $script:CippAllowedGroupsStorage.Value

0 commit comments

Comments
 (0)