@Luciano Andrea Thanks for reaching out.
The principal auth is not supported by SharePoint Connector. It would only work for user connections. You cannot use SharePoint connector with client ID and secret.
Alternative you can leverage the HTTP connector to call any external endpoint to automate the same at your end.
References: https://learn.microsoft.com/en-us/training/modules/integration-http-connector/2-rest-service
Please 'Accept Answer' if it helped so that it can help others in the community looking for help on similar topics.