I want to deploy my SQL scripts to synapse from powershell using Invoke-Sqlcmd utility
We have disable username/password authentication and the only way to do it is by using Managed Identity/AD Service Principal.
How can I leverage Powershell to perform this deployment using AD Service principal authentication ?