We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f2133 commit 2b67016Copy full SHA for 2b67016
Modules/CIPPCore/Public/TenantGroups/Get-TenantGroups.ps1
@@ -32,11 +32,8 @@ function Get-TenantGroups {
32
[string]$TenantFilter,
33
[switch]$Dynamic
34
)
35
-
36
- # Build cache key for result caching
37
$CacheKey = "$GroupId|$TenantFilter|$($Dynamic.IsPresent)"
38
39
- # Return cached result if available
40
if ($script:TenantGroupsResultCache.ContainsKey($CacheKey)) {
41
Write-Verbose "Returning cached result for: $CacheKey"
42
return $script:TenantGroupsResultCache[$CacheKey]
0 commit comments