microsoft.powershell.activities.dll Error in Windows 10 and 11: Windows PowerShell Workflow activity library

A legacy workflow can start but stop when it tries to load an activity assembly.
The Windows file inventory identifies microsoft.powershell.activities.dll as Microsoft.PowerShell.Activities. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Confirm the installed Windows PowerShell release and test a minimal workflow in its supported host. Capture which activity type fails.
Confirm which PowerShell host actually launched the workflow. Run $PSVersionTable.PSVersion in the failing session. Microsoft documents that PowerShell Workflow is unavailable in PowerShell 7. If the workflow was launched there, ask its owner to test the approved copy in Windows PowerShell 5.1 or confirm the migration path. If it already runs in the supported host, record the first failing activity. See Microsoft’s guidance.
Repair the affected feature
Use the documented matching host and approved components, or migrate the workflow through its owner’s supported process when the feature is no longer available.
If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.
Verify the repair
Run a small copy of the original workflow and verify the previously failing activity returns its expected result.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.