Hi Daniel,
Wazuh keeps a checkpoint that should prevent events from being downloaded multiple times. You can check it's modification time to see if it's advancing or not after you 5 minute interval with:
`ls -l /var/ossec/queue/azure-logs/graph/<tenantdomain>/`
If there are issues writing to it, you should see errors in
`grep azure /var/ossec/logs/ossec.log | tail -n 100`
Feel free to share those logs in case you find anything relevant.
Besides these debugging steps, it's reccomended to keep the time_offset at a value closer to the interval. With your current setup, every 5 minutes you'll be downloading the last 1h of events, when you probably need something closer to those 5 minutes if you already ingested the previous events. This could also be the cause of the duplicate events. Try changing the time_offset value to something like 6 minutes.