I´m quite new to automation in Azure but done a couple of thing, however, now we're about to create a standard to create a Team with a connected Planner from a "template"model for new customers so we can have a number of channels and a connected Planner with a number of pre-defined tasks.
So, obvious my way to go is to create a Azure Runbook and call it from a Power Automate flow.
But, I've started with the first part, which is to create the Team, that's not an issue as long I'm using my admin-credentials before, but we're a CPS-partner and have forced MFA which can't have any exclusion so I need to come up with another solution.
I've tried to read how to create an application and use Microsoft Graph, but it seems like it still need my credentials? Or am I doing anything wrong?
I've tried to use the RunAsAccount and gave that account access to both Microsoft Teams and Groups, both to create and view.