Managed to get this working, just needed to add the following to the graph helper.py file.
In the new_event varaiable
"IsOnlineMeeting": True,
"onlineMeetingProvider": "teamsForBusiness"
Then in the new_event['body']
"contentType":"HTML"
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I have created an app using the Build Python Django apps with Microsoft Graph tutorial.
https://learn.microsoft.com/en-us/graph/tutorials/python
The tutorial allows me to create new events in my calendar through the app.
Rather than create a new calendar appointment I want to be able to create a new Teams appointment.
I presume I would need to edit the graph_helper.py file to create online meetings rather than standard calendar events but I am unsure on what I need to change.
Appreciate any help or guidance anyone can offer.
Thanks,
Mark
Managed to get this working, just needed to add the following to the graph helper.py file.
In the new_event varaiable
"IsOnlineMeeting": True,
"onlineMeetingProvider": "teamsForBusiness"
Then in the new_event['body']
"contentType":"HTML"