Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.64k stars 2.84k forks source link

Error with AZURE_URL in ADT README.md #14916

Closed joseba-altran closed 4 years ago

joseba-altran commented 4 years ago

Describe the bug README.md states:

# - AZURE_URL: The tenant ID in Azure Active Directory
url = os.getenv("AZURE_URL")

This is probably a mistake, since the code later calls DigitalTwinsClient(), which requires a URL (and the name of the variable clearly suggests that it should be a URL 😅).

To Reproduce Steps to reproduce the behavior:

  1. The content is in master, and comes from 27175c267b854ff7e3743ce55302f7192701da95.

Expected behavior That section should probably read:

# - AZURE_URL: The URL to the ADT in Azure
url = os.getenv("AZURE_URL")
ghost commented 4 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @sourabhguha, @inesk-vt.

Panda19961202 commented 3 years ago

Hello,Can you tell me how AZURE_URL needs to be obtained? Thanks.I see AZURE_UR as the tenant ID, and the function returns the null value.