azure-identity support for azure-mgmt-datalake-analytics #39090
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Data Lake Analytics
Mgmt
This issue is related to a management-plane library.
needs-author-feedback
Workflow: More information is needed from author to address the issue.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
AttributeError: 'DefaultAzureCredential' object has no attribute 'signed_session'
To Reproduce
Steps to reproduce the behavior:
`import os
from azure.identity import DefaultAzureCredential
from azure.mgmt.datalake.analytics.job import DataLakeAnalyticsJobManagementClient
from azure.mgmt.datalake.analytics.job.models import JobInformation, JobState
adla = os.environ.get('ADLA_ACCOUNT_NAME', 'adla')
credentials = DefaultAzureCredential()
adlaJobClient = DataLakeAnalyticsJobManagementClient(credentials, 'azuredatalakeanalytics.net')
jobs = adlaJobClient.job.list(adla)
jobs.next()
`
Expected behavior
Library should support azure-identity
https://learn.microsoft.com/en-us/azure/developer/python/sdk/authentication/overview?tabs=cmd
Additional context
StackOverflow
The text was updated successfully, but these errors were encountered: