Comments (7)
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.
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.
@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 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.
@ChenxiJiang333 Thank you for your reply. I will soon get authorization and try. Thank you!
from azure-sdk-for-python.
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.
@github-actions @xiangyan99 Thanks for your help! It has been resolved!
from azure-sdk-for-python.
Related Issues (20)
- 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
- start_copy_from_url raised CannotVerifyCopySource when DefaultAzureCredential used HOT 6
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.