Comments (5)
Thanks for reaching out.
Could you share more details?
e.g. which cloud do you use?
from azure-sdk-for-python.
Hi @LiliDeng. 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.
Thanks for reaching out.
Could you share more details?
e.g. which cloud do you use?
azure-identity-1.9.0
I use global azure, which other details you want, please let know.
from azure-sdk-for-python.
After changing azure-identity-1.9.0 into azure-identity-1.16.0, I saw below error. But I used the MSI with federated tokens have higher time limit. https://aka.ms/azdo-rm-workload-identity-manual
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\core\pipeline\policies\_redirect.py", line 197, in send
response = self.next.send(request)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\core\pipeline\policies\_retry.py", line 531, in send
response = self.next.send(request)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\core\pipeline\policies\_authentication.py", line 124, in send
self.on_request(request)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\core\pipeline\policies\_authentication.py", line 99, in on_request
self._token = self._credential.get_token(*self._scopes)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\identity\_credentials\default.py", line 219, in get_token
token = self._successful_credential.get_token(*scopes, claims=claims, tenant_id=tenant_id, **kwargs)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\identity\_internal\decorators.py", line 33, in wrapper
token = fn(*args, **kwargs)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\identity\_credentials\azure_cli.py", line 112, in get_token
output = _run_command(command, self._process_timeout)
File "C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\azure\identity\_credentials\azure_cli.py", line 215, in _run_command
raise ClientAuthenticationError(message=message) from ex
azure.core.exceptions.ClientAuthenticationError: ERROR: AADSTS700024: Client assertion is not within its valid time range. Current time: 2024-05-09T02:10:40.3190445Z, assertion valid from 2024-05-09T01:55:09.0000000Z, expiry time of assertion 2024-05-09T02:05:09.0000000Z. Review the documentation at https://docs.microsoft.com/azure/active-directory/develop/active-directory-certificate-credentials . Trace ID: 7ea7efe9-2c80-47d7-b82b-b51b5902be00 Correlation ID: 25cf5e33-3808-473b-9266-3748d846bedd Timestamp: 2024-05-09 02:10:40Z
Interactive authentication is needed. Please run:
az login
from azure-sdk-for-python.
seems it is azure cli bug. Azure/azure-cli#28915
from azure-sdk-for-python.
Related Issues (20)
- [Question] Getting an access token for a managed identity on a VM to call a custom web API scope HOT 6
- How to continue retry of 429 errors after exception from Document Intelligence SDK HOT 1
- [Identity] Re-enable tests using expired secrets/certs
- Can't get public IP and ssh port of a ml compute node HOT 1
- [breaking changes tracker] Refactor messages to support changelog reporting
- [breaking changes tracker] Accept changelog argument
- [breaking changes tracker] Changelog - report new classes
- [breaking changes tracker] Changelog - report new properties on classes
- [breaking changes tracker] Changelog - report new clients
- [breaking changes tracker] Changelog - report new module
- [breaking changes tracker] Changelog - report operations
- [breaking changes tracker] Changelog - report new operation groups
- [breaking changes tracker] Support operation overloads
- [breaking changes tracker] Support type changes
- [breaking changes tracker] Breaking - report removed operation group
- [breaking changes tracker] Update suppression mechanism to support more complex suppression scenarios
- [identity] DefaultAzureCredentials do not work properly under a proxy environment HOT 2
- azure-identity support for few remaining clients
- BatchPoolIdentity Class info about the "type" parameter to its constructor is incorrect HOT 1
- azure-eventhub needs linting updates for pylint version 3.1.0
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.