Conflict in available times for Microsoft Graph meetings

Lucas Dias 0 Reputation points

I'm working on software in Laravel where requests are made to check available times in two different emails and it is possible to schedule meetings according to this availability, all of this is done via Microsoft Graph

However, there is a problem occurring, I tried to schedule a meeting in the email room from 10 am to 11 am on 10/06/2023, and after scheduling this meeting at the same time in the other room (teste1@teste .com) became unavailable.

I searched for this in the gpt chat and it returned me this:

"The problem you are experiencing occurs because, when scheduling a meeting in the room, you are blocking time in that room.

This means that the timetable will no longer be available in the room.

Microsoft Graph takes time constraints into account when you search

available times for meetings, which is expected behavior."

I was confused about this, is there no way to separate the meeting times of two emails?

My request code for available times is this:

$emailTeste = '';
$eventsTeste = [];

	"attendees": [                
			"emailAddress": {                        
				"address": "'.$emailTeste.'",                        
				"name": "'.$emailTeste.'"                    
			"type": "Required"                
	"timeConstraint": {               
		"activityDomain": "unrestricted",                
		"timeslots": [                    
				"start": {                            
					"dateTime": "'.$dia.'T08:00:00",                            		
					"timeZone": "'.$viewData['userTimeZone'].'",                        		},                        
				"end": {                            
					"dateTime": "'.$dia.'T18:00:00",                            		
					"timeZone": "'.$viewData['userTimeZone'].'",                        		}                    
	"locationConstraint": {              
		"isRequired": "false",              
		"suggestLocation": "true",              
		"locations": [                  
				"displayName": "Conf Room 32/1368",                      	
				"locationEmailAddress": ""            }              
		"MaxCandidates": 99        
	$getEventsUrlTeste = '/me/findMeetingTimes';
	'Prefer' => 'outlook.timezone="'.$viewData['userTimeZone'].'"'        

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