hey @Bartosz_Pers
this might be because the other user has no permission for the flow i guess. Did u also add the other user as co-owner at power automate flow settings?
Here are some steps that might resolve the issue:
The error message suggests that there's a problem with the connection used by the flow. Since the flow is using your credentials, your co-owner might not have access to the same connection. You need to ensure that the flow's connection is accessible to all co-owners.
Share the flow with your co-owner. Go to your Power Automate flow, and under the "Details" tab, there should be an option to share the flow. Add your co-owner here, giving them the necessary permissions. This will allow them to use the flow with their credentials.
If the above step doesn’t work, your co-owner may need to reconfigure the flow's connection with their own credentials. This can be done by editing the flow and updating the connection details in the actions where the SharePoint list is accessed.
To avoid individual user permissions issues, consider using a service account to run the flow. This account should have the necessary permissions on the SharePoint list. This way, regardless of who triggers the flow from the app, it will always use the service account's credentials.
Ensure that both the app and the flow have the correct permissions set up. The co-owner should have Contributor or Owner permissions on the app, and similar permissions should be granted for the flow.
The OnSelect property for the submit button in your PowerApp is crucial. Ensure it's correctly configured to call the flow. It typically looks like '<name_of_your_flow>'.Run(<parameters_if_any>).
Test the app with different user scenarios – as an owner, co-owner, and a regular user. This will help you identify if the issue is specific to the co-owner role or a general issue with the flow connection.
Let me know if my answer helped solving your issue.
If it did please accept as solution and give it a thumbs up so we can help others in the community.
Greetings