Exclude a few dates from recurrent event in outlook calendar

Long Tran 10 Reputation points
2023-06-20T18:13:12.6566667+00:00

Hi support team,

I am working with Microsoft Graph Calendar API. I can create recurrent event successfully by apis, but I am not able to find document about how to exclude a few specific dates from recurrent event.

Ex: I have a recurrent event happen daily from 06/20/2023 to 06/30/2023. I want to exclude 2 dates : 06/22/2023 and 06/24/2023. Could you please tell me how I can use Calendar api with this requirement ?

I am using an console application with .net framework 4.7.2 and Microsoft Graph 5.12.0

Thanks

Long Tran

Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. TH-4749-MSFT 3,315 Reputation points
    2023-06-21T18:20:10.22+00:00

    Hello Long Tran,

    Thanks for reaching out. Excluding specific days from recurring events is currently not available via an exclusion parameter. However, you could achieve the same using date ranges. Please see below article for more information on this topic:

    https://learn.microsoft.com/en-us/graph/outlook-schedule-recurring-events

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

    Thanks.

    0 comments No comments

  2. TH-4749-MSFT 3,315 Reputation points
    2023-06-22T13:48:38.26+00:00

    Hello Long Tran,

    Good day. Hope all is well.

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

    Thanks.


Your answer

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