Managed Identity support in Power Automate is still a preview feature, and I haven't used it myself. If you're facing limitations, consider using Azure Key Vault to securely store and retrieve authentication credentials for your API calls.
Here’s a helpful guide:
https://learn.microsoft.com/en-us/power-automate/desktop-flows/create-azurekeyvault-credential