If you have a "service account" that is just a regular licensed account, you can create a connection with that account. So, log into that account and create connections to whatever.
Now, from Copilot, you can (there are different ways but, in the end, it's the Power Automate side that matters).
What I do to make my life easier.
I go to Power Automate, log in as my "service account", create the flow, and use my connections. I then go to the Details Page, click on Run Only User, in the drop down select the Service Accounts connection INSTEAD of the users accounts of who ran the Copilot (which could be an autonomous triggered one).
Now share the flow to yourself etc and share the connection itself. Make sure the flow is part of the agent solution and publish all customizations before going back into the Agent.
Re-fresh the agent
Now you shared it to yourself etc as you might not be logged in as the Service account when you built the agent and you want to see the flow.
Now you can.
All of this or create everything as the Service Account. Share the Connection to everyone. Go into the Flow and still set The Run Only user as a Connection owned by the Service account
Done..
I have to do this all the time for people including programs from Microsoft like Power Up, due to issues in licensing.
Just make sure everyone is licensed, not just the account.
If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.
Thank you!
Sincerely, Michael Gernaey