This blog will teach you the general steps for connecting Graph API through Power Automate.

Register an application in Azure AD

Create a client secret

Grant permissions

Create a new Flow in Power Automate

Run the Flow

That's it! You should now be able to connect to the Microsoft Graph API through Power Automate and perform actions on your behalf.