Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azure-identity support for azure-mgmt-datalake-analytics #39090

Open
novablinkicelance opened this issue Jan 8, 2025 · 3 comments
Open

azure-identity support for azure-mgmt-datalake-analytics #39090

novablinkicelance opened this issue Jan 8, 2025 · 3 comments
Assignees
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

Comments

@novablinkicelance
Copy link

  • azure-mgmt-datalake-analytics:
  • 0.6.0:
  • Windows:
  • 3.12:

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

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 8, 2025
@xiangyan99 xiangyan99 added Data Lake Analytics Mgmt This issue is related to a management-plane library. and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Jan 9, 2025
@github-actions github-actions bot added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Jan 9, 2025
@xiangyan99
Copy link
Member

Thanks for the feedback, we’ll investigate asap.

@xiangyan99
Copy link
Member

Thanks for reaching out.

Did you have a chance to try https://pypi.org/project/azure-mgmt-datalake-analytics/1.0.0b2/?

Does it work for you?

@xiangyan99 xiangyan99 added needs-author-feedback Workflow: More information is needed from author to address the issue. and removed needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team labels Jan 9, 2025
Copy link

github-actions bot commented Jan 9, 2025

Hi @novablinkicelance. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants