Customer's update: I was using the wrong name in the FROM section of the bulk insert statement.
Other Troubleshooting steps:
When you say "when I take that file url and paste it into a browser it lets me access the file without problem"
- This indicates the issue could be from the source side
- i.e., Azure SQL Server and not the Storage Account.
I suggest you make sure the steps involved are correct according to
- Access data in a CSV file referencing a container in an Azure Blob Storage location
- Cannot bulk load. The file "xyz" does not exist or you don't have file access
Once done, make sure the user has enough permissions on the SQL Server itself.
- See : Permissions
- Requires INSERT and ADMINISTER BULK OPERATIONS permissions. In Azure SQL Database, INSERT and ADMINISTER DATABASE BULK OPERATIONS permissions are required.
- Also refer : sql server bulk insert permisisons
If the above does not help too,
- Please share the exact SQL Code you are using to perform this operation
- Please share the screenshot of the SAS Token permissions (from Portal)
- Of course please feel free to blur/hide any PII or sensitive data
Cheers,
Kapil