@Luciano Andrea Thanks for reaching out. Unfortunately, managed identity is not supported for SharePoint connector. You can always pass your feedback here if this is something you want to see if logic app SharePoint connector.
The alternative would be leveraging the Graph API for SharePoint in logic app. Here are some of the reference documents on how to Grant Graph API Permission.
- https://techcommunity.microsoft.com/t5/azure-integration-services-blog/grant-graph-api-permission-to-managed-identity-object/ba-p/2792127
- https://techcommunity.microsoft.com/t5/azure-integration-services-blog/calling-graph-api-from-azure-logic-apps-using-delegated/ba-p/1997666
- https://wilson-reddy.medium.com/access-sharepoint-content-using-graph-api-with-site-level-permissions-8e4c97d6094c
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.