# Error retrieving logs when using Defender ATP (under Microsoft Module)

**URL:** https://discuss.elastic.co/t/error-retrieving-logs-when-using-defender-atp-under-microsoft-module/273225
**Category:** Beats
**Tags:** beats-module, filebeat
**Created:** [May 18, 2021, 1:06am UTC](https://discuss.elastic.co/t/error-retrieving-logs-when-using-defender-atp-under-microsoft-module/273225 "2021-05-18T01:06:16Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ismyhairnice](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ismyhairnice/32/68353_2.png) [@ismyhairnice](https://discuss.elastic.co/u/ismyhairnice)
#### Post date: [May 18, 2021, 1:06am UTC](https://discuss.elastic.co/t/error-retrieving-logs-when-using-defender-atp-under-microsoft-module/273225/1 "2021-05-18T01:06:16Z")

</div>

Hi all

I am trying to retrieve some Defender ATP logs from Azure using Microsoft Module and encountered error. Current Filebeat version is 7.12.

```auto
2021-05-10T13:01:17.495+0800 ERROR [input.httpjson-cursor] v2/request.go:186 
error processing response: the requested root field is empty 
{"input_source": "https://api.securitycenter.windows.com/api/alerts", "input_url": "https://api.securitycenter.windows.com/api/alerts"}

```

I followed the instructions from [https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-microsoft.html#\_defender\_atp\_fileset\_settings](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-microsoft.html#_defender_atp_fileset_settings) to setup and enter configuration settings accordingly.

And also the application api is granted with correct permissions.

Could anyone assist me on this?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 15, 2021, 3:06am UTC](https://discuss.elastic.co/t/error-retrieving-logs-when-using-defender-atp-under-microsoft-module/273225/2 "2021-06-15T03:06:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
