SharePoint Query does not work as URL is https://ts.companyname.com/sites.... and this component required URL in https://<account>.sharepoint.com format so this particular component does not support.
Teams folder is essentially Sharepoint under the hood. You can use Data Transfer component and select "Microsoft Sharepoint" as source type, "Sharepoint Online" as the Edition , and pass the File URL to fetch the data, stage it and then load into your snowflake table.