Share via

transactionId parameter to create calendar event endpoint does not seem to work in National Cloud environment

Elyes Graba 61 Reputation points
2022-10-25T22:23:28.6+00:00

When using the https://graph.microsoft.us/v1.0/me/calendars/{calendar_id}/events endpoint to create a calendar event in a GCC High National Cloud tenant, if the transactionId parameter is included, it causes a 400 response with UnableToDeserializePostBody as the error code.

Is this parameter not supported in graph deployed against National Cloud environments? Is there a plan to support it in the future?

Microsoft Security | Microsoft Graph
0 comments No comments

2 answers

Sort by: Most helpful
  1. Kalana Hettiarachchi 0 Reputation points
    2023-08-14T10:39:05.66+00:00

    check whether extension is added when creating an event

     const eventData = {
          subject: subject,
          body: {
            contentType: "HTML",
            content: description, // You can customize this as needed
          },
          start: {
            dateTime: startDateTime,
            timeZone: startTimezone, // Adjust the timezone as needed
          },
          end: {
            dateTime: endDateTime,
            timeZone: endTimezone, // Adjust the timezone as needed
          },
          extensions: [
            // Include the transaction ID as an extension
            {
              "@odata.type": "Microsoft.Graph.OpenTypeExtension",
              extensionName: "transactionId",
              transactionId: `sch${transactionId}`,
            },
          ],
        };
    

    Was this answer helpful?

    0 comments No comments

  2. CarlZhao-MSFT 46,456 Reputation points
    2022-10-26T09:26:11.29+00:00

    Hi @Elyes Graba

    Since this issue seems to be specific to the National Cloud Graph endpoint, I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise support ticket from:
    https://portal.azure.com/#view/Microsoft_Azure_Support/HelpAndSupportBlade/~/overview or https://admin.microsoft.com/#/support/requests.

    Hope this helps.
    If the answer is helpful, please click "Accept Answer" and kindly upvote. If you have any further 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.