In the Office365 Outlook Create Event step, I would like the ability to set the "private" flag of the event. It would be an additional advanced field, similar to "Is HTML" and "Show As".
As a consultant I work for several customers. My customers each provide me an Office 365 user for collaboration and access rights to databases etc. Currently, my customers can see my calender in their own tenant, only. Customers could plan appointments better if they could see my complete list of available time slots, thus I would like to copy my appointments from my own calender to my calender in my customers tenant but flagging it as private appointment, so that customer A can't see what I will discuss with customer B, but only my free/busy times. (Unfortunately, sharing my calender's free/busy times doesn't work as expected when plannng a new appointment.)
In fact you can set the sensitivity flag using GRAPH API.
See SetSensitivity flow for details.
Thanks, this is a great solution @VictorIvanidze
I was able to use your method to implement this for calendar events.
1. Add a step with the action 'Invoke an HTTP request / HTTP with Azure AD'
2. Set both the Base Resource URL and Azure AD Resource URI to:
3. Authenticate with an account that has permission to read/write to the calendar
4. Set values for the Invoke an HTTP request action:
https://graph.microsoft.com/v1.0/me/events('ID OF CALENDAR EVENT HERE')
This will update the calendar event and flag it as private. Setting the sensitivity as 'normal' will make the event public.
@TullyH , I tried your instructions. But, I keep getting an error message "Id is malformed."
could you show your PATCH request?
Your PATCH request is the same as what I have been using. The malformed ID error you are getting seems unrelated to updating the calendar event. Can you try creating a new flow with just these steps and seeing if it works?
@TullyH I have created a test flow and got the same error message. I also get the same error when entering it directly at https://developer.microsoft.com/.
try to execute the same PATCH request using GRAPH Explorer: https://developer.microsoft.com/en-us/graph/graph-explorer