Hi vrod29 we were successfully using the graph api to book workspaces, but we have now found that we are getting
Spaces can not be booked as attendees: 'zxxxxx'; Location: ''. denied confirmations back from workspaces.
This is the graph code I'm using, this code was working fine last week, only seems to be on certain resources as well, the issue also persists when booking through Outlook Web
const e: MicrosoftGraph.Event = {
subject: "Workspace Booking",
showAs: "workingElsewhere",
body: { contentType: "text", content: "Workspace Booking" },
start: { dateTime: c.toJSON(), timeZone: "GMT Standard Time" },
end: { dateTime: c2.toJSON(), timeZone: "GMT Standard Time" },
location:{ displayName: room.name, locationEmailAddress: room.email, locationType: "conferenceRoom" },
attendees: [
{
emailAddress: { address: room.email, name: room.name },
type: "resource"
}
],
allowNewTimeProposals: false
};
client.api('/me/events').post(e, (error) => {
if (error) {
alert(error.message);
console.error(error);
} else { }
setTimeout(() => { this.reload(this.state.date); this.reloadEvents(); }, 1000);
});