question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why does the DataLakeServiceClient not support connection strings when all other clients do?

See original GitHub issue

Describe the bug The overloads for the DataLakeServiceClient does not have an overload that accepts a connection string.

All the other clients (.e.g. BlobContainerClient) do have a connection string overload.

Expected behavior Expose an overload for the DataLakeServiceClient constructor that accepts a connection string.

Actual behavior (include Exception or Stack Trace) You currently only have the option of using a URI. This requires the setting up of additional IAM permissions and is inconsistent with the other providers.

Environment:

  • Azure.Storage.Files.DataLake, Version=12.4.0.0

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jsquirecommented, Sep 18, 2020

Thanks, @sonic1981. My mistake during selection; the good news is that it routes to the same team. 😄

0reactions
sonic1981commented, Mar 12, 2021

This still hasn’t been looked at by anyone

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Can i use connectionString instead of ...
Yes, you can create a DataLakeServiceClient using connectionString . The code is same as you second code sample.
Read more >
Azure DataLake service client library for Python
Client creation with a connection string​​ Create the DataLakeServiceClient using the connection string to your Azure Storage account.
Read more >
Azure DataLake service client library for Python
To authenticate the client you have a few options: ... Alternatively, you can authenticate with a storage connection string using the from_connection_string ...
Read more >
Azure SQL Database connection strings
Connection strings for Azure SQL Database. Connect using Microsoft.Data.SqlClient, SqlConnection, MSOLEDBSQL, SQLNCLI11 OLEDB, SQLNCLI10 OLEDB.
Read more >
Python's azure-storage-file-datalake
Client creation with a connection string. Create the DataLakeServiceClient using the connection string to your Azure Storage account. from azure.storage.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found