Azure / Azure/azure-rest-api-specs

Tags fail to fetch using the python SDK

Open
#17,218 2 comments 1 reaction 0 assignees View on GitHub
customer-reported Managed Identity Mgmt question Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

Please see https://github.com/Azure/azure-sdk-for-python/issues/22180 for reference.

But after multiple trials and errors it was determined that the issue lies with the azure service and not the python client.

I've verified that my resources do have tags. I've verified that:
* I can fetch those tags using the azure cli tool.
* I can fetch those tags in the azure portal.
* I can fetch the tags from each subscription individually.
* When I `list_subscriptions` the tags attr is empty using the python client.
* When I fetch the list of subscriptions using the REST api the tags are empty.

I would like to understand that why when I fetch all the subs, the tags list is empty.

Contributor guide

Open the contributing guide

Research direction

Start with the referenced issue 22180 and compare list_subscriptions in the Python client with the subscriptions REST response. Confirm whether the empty tags are returned by the Azure service or introduced by the client; done requires a documented root cause and a clear follow-up or owner.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi, python
Domain
api, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.