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

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

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 People API
Microsoft Graph People API
A Microsoft API that allows you to retrieve the people who are most relevant to you.
33 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
544 questions
{count} votes

3 answers

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

    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"

    No comments

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

    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".

    No comments

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

    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.

    No comments