CRM - Copilot Studio Workflow unable to publish when "List rows from selected environment" tool used.

Meera Pardeshi 0 Reputation points
2026-10-16T18:24:06.0466667+00:00

Error - "Dataverse connector preview actions with environment parameter cannot yet connect outside of the current environment with connections provided by run-only users."

The same tool worked perfectly fine just yesterday, and I had an entire workflow created and published. The change I was trying to make it change the row count from 10 to 1000. This tool or workflow does not show a preview tag so I need to understand what changed.

User's image

Microsoft 365 and Office | Development | Microsoft 365 App Publishing
0 comments No comments

2 answers

Sort by: Most helpful
  1. Jay1 Tran 1,720 Reputation points Independent Advisor
    2026-10-16T19:38:37.51+00:00

    Hi Meera,

    Thank you for reaching out.

    The error you’re seeing is caused by a known limitation with certain Dataverse connector actions, specifically preview actions that use an environment parameter. When the connection for those actions is provided by a run-only user, publishing can be blocked, even if the action is pointed to the current environment. The row count change likely triggered a full re-validation of the workflow, which surfaced this existing configuration issue.

    User's image

    To resolve this, please try the following:

    1. Open the workflow’s underlying flow in Power Automate.
    2. Go to the flow’s Details page.
    3. Under Run only users, click Edit.
    4. For the Microsoft Dataverse connection, change it from “Provided by run-only user” to an owner-supplied connection or a service account connection.
    5. Save the flow.
    6. Return to Copilot Studio and publish the workflow again.

    For more information, please refer to: Manage connections to Dataverse - Power Automate | Microsoft Learn

    I hope your issue gets resolved soon. Any updates would be greatly appreciated.

    Was this answer helpful?

    0 comments No comments

  2. Meera Pardeshi 0 Reputation points
    2026-10-16T18:31:04.8866667+00:00

    Even if I use the same/current environment as the agent, it still fails to publish -
    User's image

    Screenshot 2026-10-15 at 2.14.10 PM

    Was this answer helpful?

    0 comments No comments

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.