Error when trying to enable SharePoint site feature “Workflows can use app permissions” in the UI:
Sorry, something went wrong
An unexpected error has occurred.
TECHNICAL DETAILS
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: efc1469a-0065-a001-e71d-bf4bae98ac89
You can enable the feature using the following PowerShell script:
Install-Module -Name SharePointPnPPowerShellOnline
Connect-PnPOnline -Url https://rmpfs.sharepoint.com/sites/fin -UseWebLogin
Enable-PnPFeature -Identity ec918931-c874-4033-bd09-4f36b2e31fef