Fix PowerShell 504 Gateway Timeout in Azure Function Apps - Resolve Task Scheduler Lag on Boot-Fix Microsoft Store: Cache Reset or Settings Reset

Likely symptom
Likely cause
Safe rollback
Verification route
- Repeat the original action, not only a simplified test case.
- Restart the app or reload the service after configuration changes.