Skip to main content
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.


Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors