SOLVED

Report Azure AD Restricted Users

Occasional Contributor

Hello together

 

I need to get the the report from Azure AD User who have had their email privleges restricted due to spamming
The following link shows this in the Admin Center
https://protection.office.com/restrictedusers

 

Is there a way to do this from within PowerShell (as it's part of a reporting "Suite") to be able exporting it to CSV/Excel in an easier way?
Can this be achieved using the Graph API Module for PowerShell?

 

Thank you for your Help and best regards

 

Thomas

2 Replies
best response confirmed by TechThomas (Occasional Contributor)
Solution

@TechThomas Using the Exchange Online PowerShell module, you get access to the "Get-BlockedSenderAddress" cmdlet which will return this list and you can then export it as CSV. More information can be found here. I am not aware of a corresponding Graph API call though, but then again, I don't/can't know everything :)

thank you for your fast answer

sometimes the result is so close that you simply not seeing it :)