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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Disable dynamic expres...
Power Automate
Answered

Disable dynamic expression for an attribute of Custom Connector

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
Scenario: I have a custom connector defined. I do not want users using dynamic content/expression in one of my field. How do I disable this feature? Is there any attribute in the swagger definition against a schema to disable this?
Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @sandeepnmenon,

     

    Do you mean that this field can only fill the content manually, and can't use Expression to modify the content?

    Sorry, I am not familiar with the custom connector. I don't know if we can disable such input during the process of creating a custom connector.

    Hope that the following links can help you a little:

    https://docs.microsoft.com/en-us/connectors/custom-connectors/

    https://docs.microsoft.com/en-us/connectors/custom-connectors/define-openapi-definition

    https://docs.microsoft.com/en-us/connectors/custom-connectors/define-blank

    In addition, you could consider adding a hint to the corresponding field like other actions, prompting the user not to use Dynamic or Expression when configuring this field.

    If possible, you could also add error codes and error messages, showing that this field cannot use function inside Expression.

     

    Best Regards,

    Barry

  • sandeepnmenon Profile Picture
    Microsoft Employee on at

    Thank you @v-bacao-msft for the links.

     

    Yes I mean that this field can only fill the content manually, and can't use Expression to modify the content.

     

    My scenario cannot have users adding expressions in that field. (Users can ignore the hint).

     

    Error codes and error messages hinder user experience, but if my ask is not possible this would seem the way to go.

    Can you provide an example of giving error messages using a condition like mine?

     

  • sandeepnmenon Profile Picture
    Microsoft Employee on at

    Currently there seems to be no support of disabling dynamic expressions for a field.

     

    @v-bacao-msftCan you provide an example of giving error messages like you mentioned using a condition like mine?

  • Verified answer
    v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @sandeepnmenon,

     

    Yes, you are right.

    Currently there is no way to disable the Dynamic Content/Expression usage within Microsoft Flow portal, or through the Custom Connector definition.

     

    For the error code/Error messages mentioned by Barry, I think he means to define the Failure Response Body within the OpenAPI file.

    Describing responses

     

    For the Input Reminder, based on what I know, there is no way to implement that.

    Hope staff @Samuel could share more information on this issue.

     

    Best regards,

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 86 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 55

#3
Ellis Karim Profile Picture

Ellis Karim 53 Super User 2026 Season 1

Last 30 days Overall leaderboard