Is there something in universal dashboard v2.9 that triggers or happens when a user logs in to track a successful login, maybe even run a script block? I’m using Azure AD Auth running in an Azure App Service. I do have logs for my azure ad app registration and this is what I have been currently using and I can get by with those details, however I have a separate Azure log analytics workspace where I send in app actions (button click, changes the user makes) to that spot. For example the function I made to write to my custom log is Write-UDLog -User $User -Action “Update” -ActionDetails “$User Updated XYZ”
I’d like to do something like, Write-UDLog -User $User -Action “Login” -ActionDetails “$User logged in from IP $IP”
But I don’t know how I could run that function when a user successfully logs in and only when they login. Hopefully that make sense.