File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ function Invoke-ListApiTest {
3030 $Timings.GetCippAzIdentityTokenMs = $Sw.Elapsed.TotalMilliseconds
3131 $Response.Timings = $Timings
3232 $Response.Jwt = Read-JwtAccessDetails - Token $Token
33+
34+ # test New-CIPPAzRestRequest KQL for resource graph
35+ $Query = ' Resources | project name, type'
36+ $Request = New-CIPPAzRestRequest - Method GET - Resource ' https://management.azure.com/' - ApiVersion ' 2021-03-01' - Endpoint ' providers/Microsoft.ResourceGraph/resources' - QueryParameters @ { ' query' = $Query }
3337 }
3438 $Response.AllowedTenants = $script :CippAllowedTenantsStorage.Value
3539 $Response.AllowedGroups = $script :CippAllowedGroupsStorage.Value
You can’t perform that action at this time.
0 commit comments