Edit

Disable syncing of desktop flows script (optional)

Note

The Automation Kit for Power Automate is no longer actively maintained. Its core capabilities are part of the Power Platform admin center.

Issues are no longer reviewed or addressed. If you identify a potential security issue, please report it to the Microsoft Security Response Center.

By default, the Desktop flows definition script is stored inside the Desktop Flow Definition table. This field could contain sensitive information.

Warning

System Administrators and higher can view the definition tables and fields by default.

Follow these steps in the environment in that contains the solution to disable sync.

  1. Select the Solutions tab.
  2. Select the Default Solution and click Environment Variables.
  3. Find and then select Store Extracted Script.
  4. Under Current value, click New value.
  5. Change to No.
  6. Select Save.

Note

You must stop and then start all flows in an environment after you make changes to environment variables for the flows to get the new environment variable values. See Limitations.

Important

The script field isn't synced back to main due to security. You can extend the Automation Kit to configure your environment to sync data back to main, if needed.