For per-device licensing, returns any devices with licenses expiring in the next 90 days.
PerDeviceLicensing[? licenseType !=
MT
&& time_until(expirationDate,
Days
) <
90
].[deviceSerial, expirationDate]