Giter Site home page Giter Site logo

Comments (4)

yonzhan avatar yonzhan commented on July 19, 2024

Thank you for opening this issue, we will look into it.

from azure-cli.

jiasli avatar jiasli commented on July 19, 2024

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.

AlbyST avatar AlbyST commented on July 19, 2024

@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.

jiasli avatar jiasli commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.