What is the Difference between Get-AzureADAuditSignInLogs and Search-UnifiedAudit logs
Get-AzureADAuditSignInLogs: This cmdlet is specifically designed to retrieve sign-in audit logs for Azure AD users. It allows you to retrieve information about user sign-in activities, including successful and failed sign-ins, sign-in errors, and additional details such as IP addresses and user agents. It focuses on authentication events and provides insights into user sign-in behavior.
on the other hand,
Search-UnifiedAuditLog: This cmdlet is part of the Office 365 Security & Compliance Center module and is used to search and retrieve a wide range of audit log data across multiple Microsoft 365 services. It allows you to search for audit events related to various activities, including user and admin actions, mailbox activities, file activities, sharing events, and more. It provides a comprehensive view of the organization's audit logs and allows for advanced search capabilities and filtering based on specific criteria.
with that said, if I want to find inactive users in O365, how do I find them.
Do I need to search in Get-AzureADAuditSignInLogs or Search-UnifiedAudit logs -
-- I suppose I need to search in Get-AzureADAuditSignInLogs - but i am anot sure. can someone assist,
I see on internet browsing some sites shows to search in unified audit logs, but I dont understnad the logic why they are using it, - as per the description, all signs in wil be Azure AD Audit Signin logs.