Hello Shahar Spencer,
Thank you for contacting Microsoft!
This can happen due to a few reasons, but one most common cause is that the notification endpoint isn't acknowledging the receipt of the notification quickly enough. Here are some steps you can take to troubleshoot and potentially resolve this:
1.Acknowledge Notifications Promptly: Ensure that your endpoint acknowledges the receipt of the notification with a 2XX status code within 3 seconds. If Microsoft Graph doesn't receive this acknowledgement, it will resend the notification.
2.Check for throttling: If your endpoint consistently fails to acknowledge notifications within the required timeframe, Microsoft Graph might throttle the notifications. Ensure your endpoint is optimized to handle the load and respond quickly.
3.Review Logs: Look at your logs to see if there are any patterns or specific conditions under which the duplication occurs. This might help identify if there's a particular scenario causing the issue.
4.Update code: Make sure your code handling the notifications is up-to-date and correctly implemented. Sometimes, inefficiencies or small bugs might cause delays in acknowledgment.
5.Test with different Endpoints: If possible, test your subscription with a different endpoint to see if the issue persists. This can help determine if the problem is with the endpoint or the subscription itself.
After all the checks mentioned above are done, if you are still encountering this error, I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to look into this issue and assist you better. You can raise support ticket from https://admin.microsoft.com/#/support/requests
Hope this helps.
If the answer is helpful, please click Accept Answer kindly upvote it. If you have any further questions about this answer, please click comment.