Skip to content

Commit 82cdf68

Browse files
authored
Fixed tenantid looking at a property that didn't exist
1 parent ee1aaf4 commit 82cdf68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Entrypoints/HTTP Functions/Tenant/Conditional/Invoke-ListConditionalAccessPolicies.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Function Invoke-ListConditionalAccessPolicies {
170170
id = $cap.id
171171
displayName = $cap.displayName
172172
customer = $cap.Customer
173-
tenantID = $cap.TenantID
173+
tenantID = $TenantFilter
174174
createdDateTime = $(if (![string]::IsNullOrEmpty($cap.createdDateTime)) { [datetime]$cap.createdDateTime } else { '' })
175175
modifiedDateTime = $(if (![string]::IsNullOrEmpty($cap.modifiedDateTime)) { [datetime]$cap.modifiedDateTime }else { '' })
176176
state = $cap.state

0 commit comments

Comments
 (0)