Comments (7)
Thank you for your feedback. Tagging and routing to the team member best able to assist.
from azure-sdk-for-python.
Hi, @vanlanchoy. It appears you are using a fairly old version of azure-identity
. Is it possible for you to upgrade to the latest with pip install -U azure-identity
and then retry?
Also, what Azure hosting environment/service are you running this code on? ManagedIdentityCredential
only works in certain Azure hosts with Managed Identity enabled.
from azure-sdk-for-python.
Hi @vanlanchoy. 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.
from azure-sdk-for-python.
Hi @pvaneck , I've tried upgraded my Azure.Identity module to 1.16.0 msal-1.28.0, and I'm running my code in Azure Synapse Workspace and still getting the same error. Does the module currently supporting UAMI/SAMI?
from azure-sdk-for-python.
Based on the docs here: https://learn.microsoft.com/azure/synapse-analytics/synapse-service-identity#user-assigned-managed-identity, "User-assigned Managed Identity is not currently supported in Synapse notebooks and Spark job definitions.". I'm not sure why this is the case, but this is the likely cause of the UAMI Credential being unable to work. Try using system-assigned MI, and see if you encounter the same problem.
from azure-sdk-for-python.
I am seeing the same error for SAMI scenario as well.
from azure-sdk-for-python.
Hmm, @xiangyan99 do you know if Managed Identity authentication is supported through our SDKs in Synapse Notebooks? I feel like it might not be as it doesn't seem like the IMDS endpoint is accessible from within the notebook/Spark pool, and we don't do any specific checks for Synapse specific environment variable within ManagedIdentityCredential...
You'd probably have to use service principals (ClientSecretCredential/EnvironmentCredential), or perhaps some of the msspark util functions listed here: https://learn.microsoft.com/azure/synapse-analytics/spark/microsoft-spark-utilities?pivots=programming-language-python
from azure-sdk-for-python.
Related Issues (20)
- Discourage use of UsernamePasswordCredential
- Alternate authentication methods for Azure AI Vision Image Analysis Python SDK HOT 4
- [azure-monitor-opentelemetry] how to force_flush() from a logger instance HOT 2
- mypy: Type signature has too few arguments [syntax] HOT 2
- the github for azure-synapse-spark doesn't contain sample. HOT 4
- Documentation and Errors around Unlisted Authorities are Missing/Wrong HOT 1
- When register custom models with python sdk in the pipeline, '#' in the path caused error: "Signature did not match" HOT 2
- [changelog] detect type change of model property
- Changelog tool enhancement (track in long term)
- ClientSecretCredential.get_token failed: Authentication failed: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997) HOT 7
- [changelog] support breaking detection for client signature
- While using "begin_create_or_update" getting error related to location property HOT 10
- generate python documentation for our sdk(nginx) HOT 2
- Import Error in azure-communication-email HOT 1
- Unable to authenticate the ModernUsageDetail api HOT 3
- `azure.ai.ml.entities._inputs_outputs._get_param_with_standard_annotation` doesn't support stringizized annotations enabled by `from __future__ import annotations`. HOT 4
- subprocess.CalledProcessError: Command '['cmd', '/c', 'az account get-access-token --output json --resource https://management.azure.com/']' returned non-zero exit status 1 HOT 5
- _to_entity_int32 is not appropriate for Python integers HOT 4
- [Key Vault] Re-enable role assignment and definition tests in playback
- LUIS and QnA Maker deprecated/retired, replaced by CLU and Custom QA HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-python.