-1

I think there might be a bug in the following API endpoint to get calendar events for different meeting rooms: https://graph.microsoft.com/beta/me/calendar/getSchedule. I know it is still beta and I see some inconsistency in returned data for meetings:

Testing scenario when the returned data changes: Logged in user: Bogdan C.

  • Add a meeting
  • Query the API and see meeting title as subject
  • Add another meeting
  • Run again the query and see username as subject for the first meeting.

As a test scenario: request body:

{
    schedules: ['room1'],
    //..other params
}

As a part of the response:

{
    "scheduleId": "room1",
    "scheduleItems": [
        {
            // first meeting added
            ...
            "subject": "**Bogdan C.**", // bad
            "location": "Room 1",                 
        },
        {
            ...
            "subject": "**Design meeting**", // good
            "location": "Room 1",
        }
    ]
}

Any idea about what might be wrong?

Thanks

  • What do you want to know? I misunderstand what you meaning. Could you please modify the question, such as what do you want to do? and what is the issue? – Keen Jin Oct 12 '18 at 04:25
  • thanks for the feedback @kikang. Edited my post and I hope it is easier now to understand – Bogdan Cojocariu Oct 19 '18 at 12:55
  • I have tried this, and it works. could you please check the two subject when you created it? – Keen Jin Oct 24 '18 at 05:32

1 Answers1

1

The issue here was related to the AddOrganizerToSubject and DeleteSubject calendar processing variables in Outlook, which both default to true.

We fixed them with the following PowerShell commands:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session

Get-Mailbox -RecipientTypeDetails RoomMailbox | Set-CalendarProcessing -AddOrganizerToSubject $false -DeleteSubject $false

Now the meeting subjects appear as expected.