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
@@ -322,9 +322,9 @@ The AADLoginForWindows extension must be installed successfully for the VM to co
322
322
323
323
| Command to run | Expected output |
324
324
| --- | --- |
325
-
|`curl -H Metadata:true "http://169.254.169.254/metadata/instance?api-version=2017-08-01"`| Correct information about the Azure VM |
326
-
|`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 |
327
-
|`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 |
325
+
|`curl.exe -H Metadata:true "http://169.254.169.254/metadata/instance?api-version=2017-08-01"`| Correct information about the Azure VM |
326
+
|`curl.exe -H Metadata:true "http://169.254.169.254/metadata/identity/info?api-version=2018-02-01"`| Valid tenant ID associated with the Azure subscription |
327
+
|`curl.exe -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 |
328
328
329
329
> [!NOTE]
330
330
> You can decode the access token by using a tool like [calebb.net](http://calebb.net/). Verify that the `oid` value in the access token matches the managed identity that's assigned to the VM.
0 commit comments