Hello @Robert Rajnys ,
Thank you for reaching out to Microsoft QnA platform. I would like to confirm that you can export list of all users with Account Enabled Status and LastSignInDateTime.
You can use following command from Microsoft Graph PowerShell Beta module.
Get-MgBetaUser -All -Property 'AccountEnabled','UserPrincipalName','SignInActivity','Mail','DisplayName' | Select-Object @{N='UserPrincipalName';E={$_.UserPrincipalName}}, @{N='AccountEnabled';E={$_.AccountEnabled}}, @{N='DisplayName';E={$_.DisplayName }}, @{N='LastSignInDate';E={$_.SignInActivity.LastSignInDateTime}} | Export-Csv -Path C:\usernew1.csv -NoTypeInformation -NoClobber
From this list you should be able to figure out all the blocked/disabled users and delete them later.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.