Hi Team, We are trying to find meeting suggestions using findMeetingTimes API. For few users in our team, we are getting organizer unavailable error.

Bhuvaneshwari Balasubramaniam 46 Reputation points
2022-06-16T06:28:24.607+00:00

211931-image.png

Hi Team, We are trying to find meeting suggestions using findMeetingTimes Graph API. For few users in our team, we are getting organizer unavailable error even though the slots are available.
When I try to schedule meeting with that particular user, I m receiving the same error.

{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#microsoft.graph.meetingTimeSuggestionsResult",
"emptySuggestionsReason": "AttendeesUnavailable",
"meetingTimeSuggestions": []
}

The below is the permissions we have, but I am able to retrieve meeting suggestions but few people with the same permission getting Organizer unavailable error.

211879-image.png

Please do the needful as we need it in our engagement.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,573 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Bhuvaneshwari Balasubramaniam 46 Reputation points
    2022-06-16T10:18:02.457+00:00

    Hi Sheena. Thanks for your reply. PFB, the request body.
    {
    "attendees": [
    {
    "type": "required",
    "emailAddress": {
    "name": "",
    "address": ""
    }
    }
    ],
    "timeConstraint": {
    "timeSlots": [
    {
    "start": {
    "dateTime": "2022-06-17T09:00:00",
    "timeZone": "India Standard Time"
    },
    "end": {
    "dateTime": "2022-06-17T17:00:00",
    "timeZone": "India Standard Time"
    }
    }
    ]
    },
    "returnSuggestionReasons": "true"
    }

    Name and emailAddress have been removed due to security reasons. Also added the header "Prefer" - outlook.timezone="India Standard Time"

    0 comments No comments

  2. Sheena-MSFT 1,721 Reputation points
    2022-06-16T12:47:38.683+00:00

    Hi @Bhuvaneshwari Balasubramaniam ,

    Could you please set isOrganizerOptional to true in request body. Because by default it's value is false.We will receive organizerUnavailable empty suggestion reason value when this property is false and the organizer is not available during the requested time window.

    Also please try to add the permissions Calendars.Read.Shared, Calendars.ReadWrite.Shared user-findmeetingtimes.

    If findMeetingTimes cannot return any meeting suggestions, the response would indicate a reason in the emptySuggestionsReason property. Based on this value, you can better adjust the parameters and call findMeetingTimes again.

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

    0 comments No comments

  3. Bhuvaneshwari Balasubramaniam 46 Reputation points
    2022-06-17T07:55:12.887+00:00

    Thanks for your response. My account doesnt have the permissions( Calendars.Read.Shared, Calendars.ReadWrite.Shared) but still I'm able to retrieve the meeting suggestions but that person is not getting.

    {
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#microsoft.graph.meetingTimeSuggestionsResult",
    "emptySuggestionsReason": "Unknown",
    "meetingTimeSuggestions": []
    }

    By setting isOrganizerOptional to true, we are getting meeting suggestions. But what if I want to book meeting with that person as an attendee, meeting suggestions would not be listed right.

    Is there any other way we can check her calendar, if she is free or not. In outlook her calendar is free but not getting any meeting suggestions when she is an attendee.

    0 comments No comments