Hi,
We have built a Canvas App that connects to SharePoint Lists and Document Libraries. The app also uses Power automate flows to update ACL, upload and delete files on SharePoint. This works fine in our development - the flows are called properly.
We have these added as an unmanaged solution in our dev environment -

We have then exported this solution as a managed solution and imported the same to our prod environment and updated the environment variables to use the production sharepoint site.
We have given access to end users to use this app. When the user opens the app, and clicks any button that invokes a power automate flow, the flow is not called but instead the user gets this error. The users are only added to the security group of the production environment. As no dataverse table is used, no security role has been assigned to the users.

But, if a System Administrator in the production environment opens the app and clicks buttons that invoke power automate flows, the flows are invoked without any issue.
Please let us know what is causing this.
Please note that both in the dev environment and production environment, the end user has only been added to the security group of the environment. No role has been given to the user in either environments. But, the app works fine in the unmanaged solution in dev but does not call the flows in the production env.