While creating an event in the outlook calendar, I want to add multiple calendars of the same mailbox in the event. I am not able to find any way of doing this.
I am using MS Graph for creating events on the calendar.
Please help me with this. Thanks in advance.
You can use Create event API to create a new event in a calendar. But you need to note that the calendar can be one for a user, or the default calendar of a Microsoft 365 group; it's not for the calendar group - so you can't add multiple calendars. Here's the doc.
Related
In the Google Calendar event link, we can pass the timezone as below
https://www.google.com/calendar/render?ctz={{timeZone}}......
Is outlook had a way to do this?
I need to create an outlook calendar link to add events to the outlook calendar. In there I need to mention the timezone in the calendar link and display the timezone like this
We have a recurring event setup in Office 365 group calendar. If a new member is added to this group, that member can see the event in "Group" calendar and in order to see this event in main calendar, user have to click on "Copy to My calendar" in group event.
Is there any way to do this via code/script? Basically achieve "Copy to My calendar" for Office 365 group calendar to User's main calendar via code.
I'm not sure when you click "Copy to my calendar" if it has some smart link or if it is just a copy at a point in time.
You could subscribe to the calendar using a webhook. That webhook would call your API hosted somewhere (an Azure Function, a web api hosted on Azure App Service). Your API would recieve the event id, it could then fetch the full details of the event and then create a new event on the users calendar.
I'm assuming that you'd want this to create it on all users calendar and also to update it if there were changes on the source event.
Its complex for sure doing it this way.
https://learn.microsoft.com/en-us/graph/webhooks
https://learn.microsoft.com/en-us/graph/api/resources/event?view=graph-rest-1.0
Background
I'm trying to create an appointment calendar using GSuite and Google Calendar API. When a user (no Google account and outside the GSuite organization) creates an appointment, I'm trying to create a Calendar event on the Calendar of an organization member via the Google Calendar API and generate a Hangouts meeting link.
Problem
I can create the event and the Hangouts meeting link, but I cannot create a custom label for the video link. I was able to make it slightly unique by adding an attendee with a fake email xczczf#example.com to John Doe's calendar to get a label of doe-j-xcz, but I would like full control over the label if possible.
Attempted Solutions That Didn't Work
Create the event and provide a conferenceData.createRequest and an entryPoint with the desired label.
Create the event first and then send a patch with the information described in 1
Changing the conferenceId
After messing around with the API Explorer, a custom label can be made by:
Creating the Cal event and adding a meeting link using a createRequest
Send a Patch with conferenceData.conferenceId set to the unique label value
I am sync my outlook calender with my application through ews and also other appointments that are not created by me.
The issue is , I am updating outlook calendar from my application. When I try to update other appointments that are not created by me are throwing error.
Is there way in ews to update those appointments? Since outlook have an option to update(save & close ) the appointments ?
Please advice on this
No as that breaks the business logic eg an attendee can't update a Meeting organised by somebody else. You need to create a Meeting update from the Organiser copy of the appointment and then accept that on the user behalf https://msdn.microsoft.com/en-us/library/office/dd633648(v=exchg.80).aspx if you want to maintain the attendees Calendars integrity.
I want to allow users of my site to schedule an appointment with other users. Once both users agree on the date and time it will update both their calendars to show this (assuming they are authenticated).
Is this possible or is the Calendar api simply for updating one calendar as an authorized user?
Thanks in advance!
As long as the user / users you are updating calendars for have both authenticated your application yes you can add events to their calendars.
A few things to note I the beginning. There is a difference between a calendar list and a calendar. Calendar list is the list on the left hand side of all of the calendars a user has. A user can have more then one calendar so be sure to ask the users which calendar they will want to add the event to.