Introduction:
- Navigate to https://admin.powerplatform.microsoft.com
- Click Manage
- Select Environments
- Open the Environment where you want to change Run History of Power Automate
- In my case it is Trail Environment
- Open the Environment
- Click Settings and select features
- Look for "Cloud flow run history in Dataverse"
- Update the History
- Enabled - 28 days retention (default)
- Enabled - 14 days retention
- Enabled - 7 days retention
- Disabled
- You can select the option how many days you want to be retained
- Update the drop down and Select Save