Git Product home page Git Product logo

Comments (7)

github-actions avatar github-actions commented on June 13, 2024

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @anuragdalmia @ramaganesan-rg @ShilpiGautam.

from azure-sdk-for-python.

ChenxiJiang333 avatar ChenxiJiang333 commented on June 13, 2024

Hi, @Fred-sun I was succeeded to to list all subscriptions under my tenant though... Make sure you followed this sample, and please follow https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/debug_guide.md to provide detailed log for deep investigation.

from azure-sdk-for-python.

Fred-sun avatar Fred-sun commented on June 13, 2024

@ChenxiJiang333 Ye, you can obtain the subscription information local cached by az login. If you use other authorization methods. you can't get the subscription infomation. Such as you can consider using ClientSecretCredential or EnvironmentCredential instead of az login. Thank you!!

from azure-sdk-for-python.

ChenxiJiang333 avatar ChenxiJiang333 commented on June 13, 2024

@ChenxiJiang333 Ye, you can obtain the subscription information local cached by az login. If you use other authorization methods. you can't get the subscription infomation. Such as you can consider using ClientSecretCredential or EnvironmentCredential instead of az login. Thank you!!

I see. It was because your principal didn't have the necessary read permission among subscriptions under single tenant. To assign such permission, you may need to request the admin consent of the tenant as well, otherwise to authorize with AzureCliCredential is suggested.

from azure-sdk-for-python.

Fred-sun avatar Fred-sun commented on June 13, 2024

@ChenxiJiang333 Thank you for your reply. I will soon get authorization and try. Thank you!

from azure-sdk-for-python.

github-actions avatar github-actions commented on June 13, 2024

Hi @Fred-sun. 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.

Fred-sun avatar Fred-sun commented on June 13, 2024

@github-actions @xiangyan99 Thanks for your help! It has been resolved!

from azure-sdk-for-python.

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.