Apologies if this is not the right forum. My questions crosses across a least a couple Power Apps concepts, so hopefully I'm in the right spot.
We had a request to set up auto automated email reply for mail sent to a shared mailbox in Microsoft 365. The trick is that they only wanted auto replies to go to external senders, not internal ones. I couldn't see a way to control that with a standard automated reply in M365, so I ended up creating a standard flow, which worked great. However, my manager was concerned that this flow was configured under my admin account and that should I move on, the process is tied to that account, which is a reasonable concern. He suggested I try setting it up using a service principal instead. After a bunch of reading, I created a solution with a cloud flow and was able to configured the cloud flow to run using the service principal. However, the connection reference which makes the connection to the shared mailbox was still using my account. After more reading, I created a connection and a custom connector using the service principal. Then in Power Apps, I create a new connection reference using this new connection. The last step that I'm aware of is to associate this new connection reference with the cloud flow, and that's where I'm stuck. Articles I read suggest that I should be able to go into the cloud flow and just select the new connection reference, but when I edit the flow, it's not an option. I've attached a couple of screenshots, if it helps explain the situation.