Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 30, 2026

Power Automate generates flow names up to 255 characters (e.g., from AI prompts), but the admin_displayname field in the Teams solution was limited to 250 characters, causing SYNC HELPER to fail with validation errors.

Changes

  • Updated admin_displayname MaxLength from 250 to 850 in CenterofExcellenceCoreComponentsTeams
    • Aligns with CenterofExcellenceCoreComponents which already used 850
    • Supports platform-generated names and provides headroom
<!-- CenterofExcellenceCoreComponentsTeams/SolutionPackage/Entities/admin_Flow/Entity.xml -->
-  <MaxLength>250</MaxLength>
-  <Length>500</Length>
+  <MaxLength>850</MaxLength>
+  <Length>1700</Length>

Impact

Field schema updates automatically on solution upgrade. No breaking changes—increasing max length is backward compatible.

Original prompt

This section details on the original issue you should resolve

<issue_title>[CoE Starter Kit - BUG] SYNC HELPER - Cloud Flows - Upsert_Flow_record - maximum length</issue_title>
<issue_description>### Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

Action "Upsert_Flow_record" shows the following error in flow "SYNC HELPER - Cloud Flows":

OpenApiOperationParameterValidationFailed. The 'inputs.parameters' of workflow operation 'Upsert_Flow_record' of type 'OpenApiConnection' is not valid. Error details: The API operation 'UpdateRecord' requires the property 'item/admin_displayname' to be a string of maximum length '250' but is of length '255'.

Image

This happens with long name cloud flows that are truncated by the platform, reaching up to 255 characters.

Expected Behavior

The admin_displayname column in the admin_flows table is expected to support and store 255 characters, replacing the current limit of 250.

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.50.8

What app or flow are you having the issue with?

SYNC HELPER - Cloud Flows

What method are you using to get inventory and telemetry?

None

Steps To Reproduce

  1. Create a cloud flow using the AI ​​prompt with a long paragraph description.
  2. Do not modify the auto-generated title (it will generate a long, truncated title).
  3. Save as is.
  4. Wait for the CoE cloud flow named "SYNC HELPER - Cloud Flows" to execute.
  5. Verify that it executes with an error when attempting to inventory the flow created in step 1.

Anything else?

No response</issue_description>

<agent_instructions>Provide a solution to this issue</agent_instructions>

Comments on the Issue (you are @copilot in this section)

@mohamrizwa Hi @hernan-ramirez, Thank you for bringing this issue to our attention. We observed that the display name parameter exceeds the 250-character limit. Please review the length and ensure the display name is less than 250 characters.

Custom agent used: CoE Custom Agent
Specialized agent for triaging and fixing issues in the CoE Starter Kit. Always consult the official CoE docs and the team’s SharePoint notes first, then mine prior GitHub issues and the CoE Common Responses playbook.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: mohamrizwa <220306360+mohamrizwa@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix maximum length error in Upsert_Flow_record Increase admin_displayname max length to support platform-generated flow names Jan 30, 2026
Copilot AI requested a review from mohamrizwa January 30, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CoE Starter Kit - BUG] SYNC HELPER - Cloud Flows - Upsert_Flow_record - maximum length

2 participants