Skip to content

Commit 8424489

Browse files
Merge pull request #31521 from nofield/patch-14
Move tabbing group up slightly
2 parents 84e0e91 + 74cfcf0 commit 8424489

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

docs/tools/bcp-utility.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,13 @@ This switch is used by the client when connecting to Azure SQL Database or Azure
340340
bcp bcptest out data1.dat -c -D -S myDSN -d testdb
341341
```
342342

343+
---
344+
345+
- **Microsoft Entra ID access token**
346+
343347
Users of **bcp** (17.8 and later versions) can also authenticate with a token. The following examples use [PowerShell on Linux](/powershell/scripting/install/installing-powershell-on-linux) to retrieve an access token.
344348

345-
This example retrieves an access token and places it into a file to export data using a System Assigned Managed Identity.
349+
This example retrieves an access token and places it into a file to export data using a system-assigned managed identity.
346350

347351
```bash
348352
Connect-AzAccount -Identity
@@ -358,8 +362,6 @@ This switch is used by the client when connecting to Azure SQL Database or Azure
358362
bcp bcptest out data2.dat -S aadserver.database.windows.net -d testdb -G -P /tmp/tokenFile -c
359363
```
360364

361-
---
362-
363365
- **Microsoft Entra interactive**
364366

365367
Microsoft Entra interactive authentication, available for all Azure SQL and SQL Server 2022+, allows you to use an interactive dialog to authenticate, which also supports multifactor authentication.

0 commit comments

Comments
 (0)