mirror of
https://github.com/Micke-K/IntuneManagement.git
synced 2026-09-28 10:55:38 +02:00
3.10.1.1
Fix Issue 364 - Conditional Access does not return Next page. Fall back to default for now.
This commit is contained in:
+12
-2
@@ -851,8 +851,18 @@ function Show-GraphObjects
|
||||
|
||||
$params = @{}
|
||||
$pageSize = 0
|
||||
$tmpPageSize = Get-SettingValue "GraphPageSize"
|
||||
if ($tmpPageSize -eq "All")
|
||||
if($global:curObjectType.PageSize)
|
||||
{
|
||||
$tmpPageSize = $global:curObjectType.PageSize
|
||||
}
|
||||
else {
|
||||
$tmpPageSize = Get-SettingValue "GraphPageSize"
|
||||
}
|
||||
|
||||
if($tmpPageSize -eq "Skip") {
|
||||
# Do nothing - use default page size from API
|
||||
}
|
||||
elseif ($tmpPageSize -eq "All")
|
||||
{
|
||||
$params.Add("AllPages", $true)
|
||||
}else
|
||||
|
||||
Reference in New Issue
Block a user