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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard