Share via

Graph API Sends email multiple times

Parker Wilson 30 Reputation points
2023-09-26T12:51:45.35+00:00

I have a webhook that triggers an AWS Lambda function so it can be used as a hub for multiple calls to multiple different APIs, one of which is Microsoft graph. Currently one of the actions it is set up to take when the webhook is triggered is to send an email from me to me so that I can have a form of trackable notification for when the webhook event is triggered. This works perfectly except it sends the email three times at 10 minute intervals. None of the other API calls which the lambda function triggers occur more than once, so the issue seems to be with my use of the graph API specifically.

My guess is that is probably is a retry feature which kicks in when the event does not occur properly, but it does work so I am not sure why it is being triggered multiple times, or how to fix it.

Any help would be appreciated, thanks!

Outlook | Windows | Classic Outlook for Windows | For business
Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Akash Jadav 85 Reputation points Microsoft External Staff
    2024-02-09T05:23:38.26+00:00

    Hello Parker Wilson, We suggest Monitoring MS Graph requests in tenant. This issue might be due to AWS Lambda function as well. Please refer: https://stackoverflow.com/questions/57565650/called-a-lambda-function-once-its-executed-twice

    If the issue is not resolved, feel free to open a support ticket from your tenant where you are facing this issue.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.