Today, I noticed a new security feature in Power Automate. It is now possible to secure your data in flows.
Why secure your flow run data
Table of Contents
After you have secured your input and output in your flow the data will be hidden. You will not be able to see data in your secured action nor in any following actions using the data.
As you hide input and output data, information in your flow runs will be removed.
This can be important if your flows include data like passwords or secrets.
What does that look like?
Secure your Input and Output in flows
When you secure your data you will now see the following message in your Flow runs.
Content not shown due to security configuration

Content not shown due to security configuration
Securing your Input and Output settings
The security settings can be configured at the action/step level using the settings option for each of the actions in your flow.

You can both secure the input and the output.
Note that you may see
The secureData configuration of workflow action ' ' of type ' ' ... There values are not supported in properties

You will find that in some actions it is not possible to secure the input and or output or both.
In my example I reduced the security settings just to the input

This now added a lock to my action in edit mode so that I can easily recognize the locked actions.

Also in the Dynamic content you can recognize the locked data

In the above example the input and the output of the Compose contains the same data. Hence the problem locking both at the same time.
Secure your Output only
When we take a SharePoint action to get items from my SharePoint site, I can lock the output only as shown below:

When using the Preview feature be careful as it makes it extremely hard to debug any mistakes. However, if you have any data that needs securing then you might want to implement this features once your process is all working.
Discover more from SharePains
Subscribe to get the latest posts sent to your email.
I need to hide content in Variables template also. Is there a way to do that?
Can you explain what you mean with a Variables template?