web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

RunWebHookSingle broken with new Power Automate HTTP URL – auth error

(3) ShareShare
ReportReport
Posted on by 52

Hi everyone,

 

I am using a Smart Button in Ribbon Workbench (XrmToolBox) that calls a Power Automate flow using the built-in command:

SmartButtons.ClientHooks.SmartButtons.RunWebHookSingle
 

Is Smart Button officially incompatible with the new Power Automate HTTP trigger URLs?

Screenshot 2025-11-27 163416.png
Categories:
I have the same question (3)
  • Suggested answer
    whitebeard Profile Picture
    97 on at

    Hi @Dyanmics User,

    Smart Buttons are not officially incompatible, but you are running into a known technical limitation with the configuration UI.

    The Issue: Character Limits
    The issue isn't the button code itself, but rather that the Smart Button configuration window in Ribbon Workbench has a hard limit of 256 characters for the URL field.

    The new Power Automate HTTP triggers (which use api.powerplatform.com) are significantly longer than the legacy Azure ones and almost always exceed 256 characters. When you paste the URL, the end gets truncated—usually cutting off the sig= (signature) portion—which is why you are receiving the authentication error. (This is tracked as Issue #117 on the Smart Buttons GitHub).

    The Solution: Environment Variables
    To fix this, you must use the Environment Variable support built into Smart Buttons. This bypasses the UI character limit entirely.

    • Create an Environment Variable: Create a new Text Environment Variable in your solution and paste the full Power Automate URL into the "Current Value" field.

    • Update Ribbon Workbench: In the Smart Button configuration, instead of the URL, enter the variable reference:

      {%YourEnvironmentVariableSchemaName%}

    The Smart Button will dynamically retrieve the full URL at runtime, including the signature, and your flow will trigger successfully.

    Hope this helps!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 156

#2
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans