Share via

ServerDebugFlags workaround

James Wade Young 20 Reputation points
2026-04-03T06:24:55.72+00:00

"Access Denied" errors in the ULS logs because the new security baseline is rejecting the OAuth trust between the Service Bus and SharePoint. It’s a major hit to our active business processes that are still waiting for a Power Automate migration.

​Where can I obtain the official documentation for the ServerDebugFlags workaround, and is there a specific security update to restore the Workflow Manager trust?

Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments

1 answer

Sort by: Most helpful
  1. Hani-Ng 9,825 Reputation points Microsoft External Staff Moderator
    2026-04-03T07:26:26.9033333+00:00

    Hi James Wade Young

    I found an official Microsoft support article related to your issue. The documentation for the ServerDebugFlags workaround is included directly in recent Security Update release notes, such as this one: Description of the security update for SharePoint Server 2019: November 11, 2025 (KB5002803)

    To apply this workaround and restore your Workflow Manager trust while you continue your Power Automate migration, you can run the following commands in the SharePoint Management Shell as an administrator:

    $farm = Get-SPFarm
    $farm.ServerDebugFlags.Add(53601)
    $farm.Update()
    iisreset
    

    I hope this information helps. Please let me know if you have further question!


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.