Skip to main content
cancel
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

Reply
mbelsis
Regular Visitor

(400) Bad Request : MS Defender Connection

Dear Community, 

 

I am quite new to PowerBI .

 

 

I am trying to use a Microsoft shared MS Defender report  (https://github.com/Azure/Azure-Sentinel/tree/master/Tools/MDO%20Power%20BI%20Dashboard#how-to-use-th...

 

We are an MS Defender Customer and I have PowerBI Pro license . 

 

The problem is that when I open the report in PowerBI Desktop, I receive the following error for every table that the report is using i.e. :

Web.Contents failed to get contents from 'https://api.security.microsoft.com/api/advancedhunting/?key=EmailEvents%20%7C%20where%20Timestamp%20...' (400): Bad Request

 

I suspect that it has to do something with the MS Defender Schema...anyway ideas or how to correct it or how to troubleshoot ?

 

Does the PowerBI Desktop has any more detailed debug logs ?

 

 

 

 

 

 

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @mbelsis ,

 

You can follow the step as below to diagnostic logs in Power BI Desktop.

File> Options and settings > Options > Diagnostics

RicoZhou_0-1667811267207.png

For reference:

Power BI Desktop diagnostics collection

Here is an offical blog about common Microsoft 365 Defender REST API error codes. I hope it could help you solve your issue.

 

Best Regards,
Rico Zhou

 

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

View solution in original post

1 REPLY 1
v-rzhou-msft
Community Support
Community Support

Hi @mbelsis ,

 

You can follow the step as below to diagnostic logs in Power BI Desktop.

File> Options and settings > Options > Diagnostics

RicoZhou_0-1667811267207.png

For reference:

Power BI Desktop diagnostics collection

Here is an offical blog about common Microsoft 365 Defender REST API error codes. I hope it could help you solve your issue.

 

Best Regards,
Rico Zhou

 

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

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

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.

PBI_Carousel_NL_June

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.