Skip to content

Commit f04177b

Browse files
laurenastrid1Lauren Nathan
andauthored
Properly pass in azure access token for flat file imports (#2750)
Co-authored-by: Lauren Nathan <laurennathan@microsoft.com>
1 parent e4aa794 commit f04177b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/Microsoft.SqlTools.ServiceLayer/FlatFile/Contracts/ProseDiscoveryRequest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ public class InsertDataParams
6969
public string DatabaseName { get; set; }
7070

7171
public int BatchSize { get; set; }
72+
73+
public string AzureAccessToken { get; set; }
7274
}
7375

7476
public class InsertDataResponse

src/Microsoft.SqlTools.ServiceLayer/FlatFile/FlatFileService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ internal async Task HandleInsertDataRequest(
132132
return await Task.Run(() => process.CreateTableAndInsertDataIntoDb(
133133
connectionString,
134134
parameters.BatchSize,
135-
null));
135+
parameters.AzureAccessToken));
136136
});
137137
if (!result.Success)
138138
{

0 commit comments

Comments
 (0)