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:
@@ -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 @{
|
||||||
|
|||||||
+12
-2
@@ -851,8 +851,18 @@ function Show-GraphObjects
|
|||||||
|
|
||||||
$params = @{}
|
$params = @{}
|
||||||
$pageSize = 0
|
$pageSize = 0
|
||||||
$tmpPageSize = Get-SettingValue "GraphPageSize"
|
if($global:curObjectType.PageSize)
|
||||||
if ($tmpPageSize -eq "All")
|
{
|
||||||
|
$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)
|
$params.Add("AllPages", $true)
|
||||||
}else
|
}else
|
||||||
|
|||||||
Reference in New Issue
Block a user