Forum Discussion

TechThomas's avatar
TechThomas
Copper Contributor
Aug 25, 2021
Solved

Report Azure AD Restricted Users

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

  • 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 🙂

2 Replies

  • 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 🙂

    • TechThomas's avatar
      TechThomas
      Copper Contributor
      thank you for your fast answer

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