File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Modules/CIPPCore/Public/Entrypoints/HTTP Functions/CIPP/Core Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,6 @@ function Invoke-ListApiTest {
1818 $EnvironmentVariables | Add-Member - NotePropertyName $_.Name - NotePropertyValue $_.Value
1919 }
2020 $Response.EnvironmentVariables = $EnvironmentVariables
21- # test Get-AzAccessToken vs Get-CIPPAzAccessToken timing with stopwatch
22- $Sw = [System.Diagnostics.Stopwatch ]::StartNew()
23- $null = Get-AzAccessToken
24- $Sw.Stop ()
25- $Timings = @ {}
26- $Timings.GetAzAccessTokenMs = $Sw.Elapsed.TotalMilliseconds
27- $Sw = [System.Diagnostics.Stopwatch ]::StartNew()
28- $Token = Get-CIPPAzIdentityToken
29- $Sw.Stop ()
30- $Timings.GetCippAzIdentityTokenMs = $Sw.Elapsed.TotalMilliseconds
31- $Response.Timings = $Timings
32- $Response.Jwt = Read-JwtAccessDetails - Token $Token
3321
3422 # test New-CIPPAzRestRequest KQL for resource graph
3523 $Query = ' Resources | project name, type'
You can’t perform that action at this time.
0 commit comments