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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
TePe
Helper III
Helper III

How to connect to Security Center/ Defender for Endpoint API

Hi,

 

I'm trying to follow the instructions published here: Microsoft Defender for Endpoint APIs connection to Power BI | Microsoft DocsMicrosoft Defender for Endpoint APIs connection to Power BI | Microsoft Docs.

However when I log in and try to connect it fails ("We couldn't authenticate with the credentials provided. Please try again).

 

The endpoint it's using is https://api.securitycenter.microsoft.com/api/advancedqueries

 

A colleague told me that I have to do an app registration etc., I did so but now I'm in the "OAuth2-hell"... Can't I simply use the dialog Power BI is offering? I think this is clearly stated in the documentation?! Or is it something around missing licenses around defender (so that I'm not allowed to use the API)? I'm asking because when I try to use another securitycenter API like https://api.security.microsoft.com/api/incidents it simply works...

2 REPLIES 2
v-lionel-msft
Community Support
Community Support

Hi @TePe ,

 

Has your problem been solved?

 

Best regards,
Lionel Chen

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

v-lionel-msft
Community Support
Community Support

Hi @TePe ,

 

Is it like this?

v-lionel-msft_0-1621926324187.png

This is because the account you provided does not have permission to use this API.

Try to sign up for a free trial version by yourself.

v-lionel-msft_1-1621926351349.png

Create custom reports using Power BI 

 

Best regards,
Lionel Chen

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

 

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.