Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Hi Armandos,
Have you referred to the information above? Could you share any updates?
Regards,
Allan
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want a list or report of all my blocked users and export to csv. Is this Possible
Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Hi Armandos,
Have you referred to the information above? Could you share any updates?
Regards,
Allan
Answer accepted by question author
Hi Armandos,
If the “blocked users” means sign-in blocked users, I suggest you run a PowerShell cmdlet to export them to a CSV file. Below are the detailed steps for your reference:
Get-MsolUser | where {$_.blockcredential -eq $true} | select UserPrincipalName,DisplayName,isLicensed | Export-CsvC:\Test\BlockedUsers.csv –NoTypeInformation
Please let me know whether this works from your side. If it doesn’t match your situation, please describe your requirement in more detail and we’ll follow up and assist you further.
Thanks,
Lingyu Sun
Work very good. Thanks