Forum Discussion

AK-47-b's avatar
AK-47-b
Copper Contributor
Apr 07, 2022
Solved

Filter issue

Hi all, I can't work out why this filter errors.   $LastLogin = Get-AzureADAuditSignInLogs -All $true -Top 1 -Filter "userDisplayName eq '$UserDisplayName'" -ErrorAction SilentlyContinue | Select ...
  • AK-47-b's avatar
    AK-47-b
    Apr 07, 2022
    Thanks for taking an interest. As it turns out, after many hours of research, I am facing two distinct issues. The first, on the filter error appears to be a known and old bug in AzureAD Preview module. The second is due to Graph API limits. So I'll be editing the script to be less aggressive and slow down the call rate, and hope that at the slower rate it allows the filters to be parsed correctly.
    Thanks for taking an interest in helping.

Resources