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

Notifications

Announcements

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)
  • Verified answer
    v-micsh-msft Profile Picture
    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,

  • 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?

  • 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?

     

  • v-bacao-msft Profile Picture
    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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 190 Super User 2025 Season 2

Last 30 days Overall leaderboard