I want to send notifications to a teams chat from external app. Currently I managed to do so using a Power Automate flow, but the trouble is whenever the flow is sending the notification, I see it uses my own account (it tells: "XY via Power Automate"), that means that after one year or so I will need to reauthenticate in the flow, otherwise the notifications will cease to work.
I'm looking for a more robust solution where instead of using my own account I would send the notifications via e.g. a service principal account, so that it authenticates by itself and will not require manual reauthentication as the Power Automate flow does.
I'm not sure if that would be the right approach... I'd appreciate some general hints of how to accomplish that or links to helpful docs.