MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.28k stars 21.47k forks source link

Steps to generate Bearer Token - incomplete. #98818

Closed asubmani closed 3 months ago

asubmani commented 2 years ago

Steps to generate bearer token are incorrect. The URL is jumbled up

GET /MSI/token?resource=https://vault.azure.net&api-version=2019-08-01

The above URL doesn't make sense.

In the powershell section the steps is as below (again an invalid url how can you have ?resourceHttps"//....) $tokenAuthURI = $env:IDENTITY_ENDPOINT + "?resource=$resourceURI&api-version=2019-08-01"

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

RamanathanChinnappan-MSFT commented 2 years ago

@asubmani

Thanks for your feedback! We will investigate and update as appropriate.

SnehaAgrawal-MSFT commented 2 years ago

@asubmani Thanks again for the feedback! I have assigned the issue to the content author to review further and update the document as appropriate.

cephalin commented 3 months ago

Internal item created: https://dev.azure.com/msft-skilling/Content/_workitems/edit/288596

please-close