web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Advanced Hunting in th...
Power Automate
Unanswered

Advanced Hunting in the Microsoft Defender ATP connector now throws an OpenAPI schema error

(0) ShareShare
ReportReport
Posted on by

When attempting to save a cloud flow that includes the Advanced Hunting action from the Microsoft Defender ATP connector, the following error message appears and the save fails:

 

The response from API 'wdatp' operation 'AdvancedHuntingSchema' with status code '200' does not contain a valid OpenAPI schema object.

 

Although an HTTP status code of 200 (successful response) is being returned, Power Automate is unable to correctly interpret it as a valid OpenAPI schema, blocking the flow from being saved.

Based on the error message, it appears that the response (HTTP 200) returned by the wdatp connector's AdvancedHuntingSchema API may no longer conform to the OpenAPI schema specification that Power Automate expects.

Given that this same error now occurs even on flows that previously saved without issue, and that flows not using the wdatp connector are unaffected, the likely cause is either a change in the schema definition on the wdatp connector side (i.e., the Defender for Endpoint API side) or a change in the schema validation logic on the Power Automate platform side.

In any case, I believe this is a bug, but I am not sure whether it is specific to my environment or a widespread issue affecting users globally.

error.png
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard