You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory/devices/howto-vm-sign-in-azure-ad-windows.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -237,9 +237,9 @@ The AADLoginForWindows extension must install successfully in order for the VM t
237
237
238
238
| Command to run | Expected output |
239
239
| --- | --- |
240
-
| curl -H Metadata:true "http://169.254.169.254/metadata/instance?api-version=2017-08-01"| Correct information about the Azure VM |
241
-
| curl -H Metadata:true "http://169.254.169.254/metadata/identity/info?api-version=2018-02-01"| Valid Tenant ID associated with the Azure Subscription |
242
-
| curl -H Metadata:true "http://169.254.169.254/metadata/identity/oauth2/token?resource=urn:ms-drs:enterpriseregistration.windows.net&api-version=2018-02-01"| Valid access token issued by Azure Active Directory for the managed identity that is assigned to this VM |
240
+
|`curl -H @{"Metadata"="true"} "http://169.254.169.254/metadata/instance?api-version=2017-08-01"`| Correct information about the Azure VM |
241
+
|`curl -H @{"Metadata"="true"} "http://169.254.169.254/metadata/identity/info?api-version=2018-02-01"`| Valid Tenant ID associated with the Azure Subscription |
242
+
|`curl -H @{"Metadata"="true"} "http://169.254.169.254/metadata/identity/oauth2/token?resource=urn:ms-drs:enterpriseregistration.windows.net&api-version=2018-02-01"`| Valid access token issued by Azure Active Directory for the managed identity that is assigned to this VM |
243
243
244
244
> [!NOTE]
245
245
> The access token can be decoded using a tool like [http://calebb.net/](http://calebb.net/). Verify the "appid" in the access token matches the managed identity assigned to the VM.
0 commit comments