Exchange API incorrect Subject

103 Views Asked by At

When ever I create a meeting in Outlook, Subject field for an appointment is going through incorrectly. Instead of something like "Test" I get the name of the user who created an appointment.

enter image description here -> bold = title, admin = creator name enter image description here -> admin = creator name even though it suppose to be subject.

foreach (Appointment a in room.appointments)
m.Subject = a.Subject

Is this a known issue; Is there another field that is responsible for subject?

1

There are 1 best solutions below

2
On BEST ANSWER

This is actually not an "issue" but a "feature" of Exchange's workflow for meeting invites. The default on a room resource is to replace the subject with the orgranizer. This can be changed for a room with a PowerShell command:

Set-Calendarprocessing -Identity:roommb -AddOrganizerToSubject:$false -DeleteSubject:$false

Of course you need proper permissions to do this, or else bribe your Exchange admin!