A cloud-based identity and access management service for securing user authentication and resource access
Azure AD sign-ins + powershell
We are a p1 shop, I want to Powershell every morning when I get to work for the previous 12 hours for the below information and want it neat in excel like it shows online with a few filters applied where you see =. Date - User - Application - Status=Success - IP address, Location=outside US My PS script is this far and just need some help to get it right please Get-AzureADAuditSignInLogs -Filter "createdDateTime gt 2021-02-22" | select userdisplayname, UserPrincipalName, IpAddress, ClientAppUsed, ResourceDisplayName | export-csv c:\temp\azure-ad-out-of-US-logins-$(get-date -f yyyy-MM-dd).csv -encoding ASCII –append
Microsoft Security | Microsoft Entra | Microsoft Entra ID
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
2 deleted comments
Comments have been turned off. Learn more