mzmaili / AzureADDeviceCleanup

AzureADDeviceCleanup PowerShell script helps to manage the stale devices in Azure AD in an efficient way by giving different options to deal with stale devices in Azure AD.
MIT License
26 stars 11 forks source link

Returns 100 devices #1

Open joheynek opened 3 years ago

joheynek commented 3 years ago

Hi

The script only seems to return 100 devices. Is there a way to change this?

TB404 commented 3 years ago

Although this is an old comment, I have the same experience. I expect thousands of devices in stale reports and only get 100 back.

RHPhilipsen commented 2 years ago

Idd, 100 device limit still applies today 01/06/2022

miwuFORCE commented 1 year ago

$global:lastLogon = datetime.AddDays(-$ThresholdDays).ToLongDateString()

Add .ToLongDateString() to the end case closed Line 302