web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Automated calendar scr...
Power Automate
Unanswered

Automated calendar script resets settings such as "Show as"

(1) ShareShare
ReportReport
Posted on by
Hello fellow Power users!
 
I am trying to replace an old and well functioning VBS script which I run in my classic Outlook calendar to do some automation. I have set up a flow in Power Automate for this, but it is behaving in surprising ways which I need help with.
 
My flow uses Get calendar view of events (V3) to check all events occurring within the coming week. 
I then want to check for any meetings with sensitivity set to Private and set a custom category "Private". 
I use Update event (V4) and set the category to "Private" - which works.
BUT at the same time the "Show as" gets set to "free" and the sensitivity is reset although they are not mentioned in the Update event (V4)
 
I would be very happy if someone could suggest how I can ensure that any settings not specifically mentioned in the Update event (V4) are preserved.
 
I did get some tips from Copilot to change the code manually, but that is apparently not possible when using New designer - and I can't seem to turn that off.

UPDATE December 2: I made a workaround which seems to work. I save the states in variables. Not convenient, especially since maybe also other settings are reset.
In the beginning of the script I added two actions, Initialize variable ShowAs and Initialize variable Sensitivity. 
The first actions in the main loop is to Set variable ShowAs to the current value of ShowAs, and the same for Sensitivity.
In each Update event (V4) I have to ensure that I, apart from the "real actions", set ShowAs to the variable ShowAs and Sensitivity to the variable Sensitivity.
 
Very clunky and inconvenient. Update event (V4) should only update values which are expressivly set in the action. Everything else in the event should be untouched.
Categories:
I have the same question (0)
  • SB-17040757-0 Profile Picture
    3 on at
    I can confirm. It is very frustrating that the "Show As" state is reset to "Free". In my case, I just want to attach a category using the Update event (V4) task.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 809

#3
Haque Profile Picture

Haque 645

Last 30 days Overall leaderboard