I have created an Agent through Microsoft Copilot Studio, which is published through Microsoft Teams. Inside my agent, I have added ServiceNow tables as knowledge sources. I have also created multiple topics inside the agent that trigger the Power Automate flows. These Power Automate flows also use Premium ServiceNow connectors to retrieve data. I have used a ServiceNow Service Account to authenticate the premium connector.
When I make any changes to the flows, I'm using it requires me to connect to flows using the ServiceNow connector manually.
At the same time, once I publish the agent on Microsoft Teams for users, it requires them to make these connections as well if any of those topics are triggered.
However, we cannot share the ServiceNow credentials with the users to sign in to this either. Is there a way that I can pre-authenticate the flows to always run under the Service Account credentials so that the users do not need to manually sign in to the connections each time? Or any other workaround suggested for this?
TIA