Useful links:
https://github.com/demianrasko/Dynamics-365-Workflow-Tools
[Code Snippet] | C# | Connecting to Dataverse using both Service Principal and User IDs
https://learn.microsoft.com/en-us/power-apps/developer/data-platform/xrm-tooling/use-connection-strings-xrm-tooling-connect
admin