Comments (4)
Thank you for opening this issue, we will look into it.
from azure-cli.
The error AADSTS500011
is returned by Microsoft Entra ID's token service and surfaced through Azure CLI.
Please check if https://xxx.azure-devices-provisioning.net/
is correctly configured in the tenant yyy
and allows Azure CLI's first party app ID 04b07795-8ddb-461a-bbee-02f9e1bf7b46
. Also, you may try adding --tenant
and specifying the correct tenant ID.
If you still have any questions, please reach out to the customer support of the corresponding Resource Provider. Thanks for your understanding.
from azure-cli.
@jiasli thank you for the quick response. Is it possible that the same error is reported as
2024-06-06T08:49:12Z [Error] DefaultAzureCredential failed to retrieve a token from the included credentials.
Attempted credentials:
EnvironmentCredential: EnvironmentCredential authentication unavailable. Environment variables are not fully configured.
Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot to troubleshoot this issue.
ManagedIdentityCredential: (None) An unexpected error occured while fetching the AAD Token.
Code: None
Message: An unexpected error occured while fetching the AAD Token.
To mitigate this issue, please refer to the troubleshooting guidelines here at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
2024-06-06T08:49:12Z [Error] Executed 'Functions.xxxx' (Failed, Id=525df530-2da1-40ea-a637-0087ee24c499, Duration=11268ms)
when requesting the AAD token directly to the Microsoft Entra ID's token service? Unfortunately this last error message doesn't have much information for debugging.
from azure-cli.
DefaultAzureCredential
is from Azure Identity SDK.
Judging from the above error message, it seems AzureCliCredential
is not attempted. AzureCliCredential
internally calls az account get-access-token
, but in the issue description, even the initial az login
fails, so I don't think it is related to Azure CLI.
For Azure Identity SDK questions, it is better to open an issue at https://github.com/Azure/azure-sdk-for-python/issues
from azure-cli.
Related Issues (20)
- Release docker images for Azure Linux 3.0 HOT 1
- Add `csv` as a supported output format HOT 3
- Az login with service principal does not work using SNI cert, not sending certificate chain HOT 3
- Cannot install az ml extension HOT 2
- az network application-gateway address-pool update does not return an error when call fails HOT 3
- az login forced os account msft login HOT 3
- CLI v2.62.0 breaks confcom extension HOT 2
- Login with WAM + no more silent authentication failures cause Terraform errors HOT 5
- Please update Docker Image due to Security Issues CVE-2024-39689 CVE-2024-6345 HOT 1
- Internal Server Error on service principal credential reset and delete HOT 2
- (InvalidPolicyAssignmentName) az policy assignment create --name should be consistent with portal and back-end service HOT 3
- 'az webapp config ssl list' returns an empty list HOT 3
- Can not `az apim api import` HOT 2
- Specifying private-link specific parameters doesn't imply enabling of private-link in az afd origin create command HOT 3
- `az role assignment list --all --role AcrPull` fails with ValueError: No value for given attribute HOT 5
- Add new flag to mask secrets from '--debug' output HOT 1
- vnet-integration add fails with Site.FunctionAppConfig is invalid HOT 1
- Azure CLI - No output on command prompt HOT 1
- Invalid duplicate name error on webapp create HOT 3
- CI fails because of setuptools change HOT 1
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-cli.