Import-Module Microsoft.Graph.Beta.Security
Get-MgBetaSecurityAlertV2
This example will get all alerts
Import-Module Microsoft.Graph.Beta.Security
Get-MgBetaSecurityAlertV2 -Filter "serviceSource eq 'microsoftSentinel'"
This example will get all alerts from microsoft sentinel