
Announcements
We have an automated workflow which run when a new item is added inside SharePoint, and the workflow contain actions to update SharePoint items, create new items and send outlook emails. now we want to change the service account username for all the connections.. so if i go to power automate >> connections >> and i click on "Switch account" >> and define a new service account,, will this update the service account username for all the connections at once?
Thanks
I haven't had to do this before but was interested to see how this worked as I know it is something I will need to do in the future. I asked Microsoft Copilot and it gave me the following which confirms what you asked with additional details:
You can change the service account username for all connections at once in Power Automate. Here’s how you can do it:
This will update and change the connection for all your flows. However, please be cautious when making changes to connections and ensure the new connection has the required permissions needed to run your flows.
If you want to change the connection for a particular action within a particular flow, you can update the connection from within the flow builder.
Ref: https://www.powertechtips.com/change-connections-power-automate/
Also, if you’re changing the owner of the flow to a service principal application user, you can do so by opening the flow on the Power Automate portal, selecting Edit in the Details section, and replacing the Owner with the name of the service principal application user.
Ref: https://learn.microsoft.com/en-us/power-automate/service-principal-support
Please note that the service account will need access to the form if the flow is triggered when a response is submitted to a form, and it will need permission to the SharePoint list if the flow needs to write to a SharePoint list.
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.
-Mark