Fix Issue 364 - Conditional Access does not return Next page. Fall back to default for now.
This commit is contained in:
Mikael Karlsson
2025-09-14 18:57:39 +10:00
parent 485a9de855
commit 8368af379f
2 changed files with 13 additions and 2 deletions
+1
View File
@@ -157,6 +157,7 @@ function Invoke-InitializeModule
PreImportCommand = { Start-PreImportConditionalAccess @args } PreImportCommand = { Start-PreImportConditionalAccess @args }
PostExportCommand = { Start-PostExportConditionalAccess @args } PostExportCommand = { Start-PostExportConditionalAccess @args }
ExpandAssignmentsList = $false ExpandAssignmentsList = $false
PageSize = "Skip"
}) })
Add-ViewItem (New-Object PSObject -Property @{ Add-ViewItem (New-Object PSObject -Property @{
+11 -1
View File
@@ -851,8 +851,18 @@ function Show-GraphObjects
$params = @{} $params = @{}
$pageSize = 0 $pageSize = 0
if($global:curObjectType.PageSize)
{
$tmpPageSize = $global:curObjectType.PageSize
}
else {
$tmpPageSize = Get-SettingValue "GraphPageSize" $tmpPageSize = Get-SettingValue "GraphPageSize"
if ($tmpPageSize -eq "All") }
if($tmpPageSize -eq "Skip") {
# Do nothing - use default page size from API
}
elseif ($tmpPageSize -eq "All")
{ {
$params.Add("AllPages", $true) $params.Add("AllPages", $true)
}else }else