Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create groups calendar events fails

POST https://graph.microsoft.com/v1.0/groups/4a3c5f77-463e-XXXXXX-fa8XXXXXX/calendar/events
Accept: application/json
Authorization: Bearer <Token>
Content-Type: application/json; charset=utf-8


{
  "originalStartTimeZone": "UTC",
  "originalEndTimeZone": "UTC",
  "start": {
    "dateTime": "2015-12-03T09:30:00-00:00",
    "timeZone": "UTC"
  },
  "end": {
    "dateTime": "2015-12-03T10:30:00-00:00",
    "timeZone": "UTC"
  },
  "responseStatus": {
    "response": "Accepted",
    "time": "2015-12-01T18:34:00-08:00"
  },
  "reminderMinutesBeforeStart": 15,
  "isReminderOn": true
}

Error:

{
  "error": {
    "code": "ErrorInternalServerError",
    "message": "The SMTP address has no mailbox associated with it.",
    "innerError": {
      "request-id": "f62423b0-0ade-494d-8c8c-1b56db60b524",
      "date": "2015-12-02T10:39:44"
    }
  }
}

I have tried with both post url mentioned below,

POST /groups/<id>/events
POST /groups/<id>/calendar/events

I have tried with different group types which include security enabled, mail-enabled and Unified Groups but I am seeing the same error message, any help would be appreciated.

like image 938
prasad nagendran Avatar asked Dec 02 '15 11:12

prasad nagendran


People also ask

Why can't I add an event to a shared calendar?

If you're not able to add an event, it's likely that you don't have editing permissions for that calendar. You can either request edit permission from whoever made the calendar, or create a new shared calendar and share that with all the involved people.

Why can't I create an event in my Outlook calendar?

Log out from your account. Optimize your browser. Clear browser's cache and temporary internet files to make sure that this is not a browser issue. After that, try to access your email using a different web browser.

What is the difference between a shared calendar and a group calendar?

Employees can use shared calendars to manage their own assignments and appointments, while team leaders can use group calendars to coordinate meetings and other tasks.


1 Answers

Group calendar access is not supported in app-only authorization flow.

We are working on returning a better error for this case.

like image 60
Marek Rycharski Avatar answered Oct 04 '22 04:10

Marek Rycharski