Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

New Member

API Defendern 365

Hello guys, good afternoon!


I want to export report from defender and send to power bi. I want to know, how do i export:


Email Collaboration;

status of mail flow

status of threat

principal malware.


All the information, i want that be in real time. 

Community Support
Community Support

Hi @Iuri ,


To export reports from Microsoft Defender for Office 365 to Power BI, you can use the Microsoft Graph Security API. You can use the API to retrieve data on email collaboration, mail flow status, threat status, and malware status. You can then use Power BI to create visualizations and reports based on the data.


Search-UnifiedAuditLog (ExchangePowerShell) | Microsoft Learn

Power BI REST APIs for embedded analytics and automation - Power BI REST API | Microsoft Learn


Please note that real-time data export may not be possible for all types of data. You may need to schedule regular data exports to ensure that your reports are up-to-date.



Best Regards,

Stephen Tao


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors