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: docs-conceptual/azps-5.9.0/authenticate-azureps.md
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Sign in with Azure PowerShell
3
3
description: How to sign in with Azure PowerShell as a user, service principal, or with managed identities for Azure resources.
4
4
ms.devlang: powershell
5
5
ms.topic: conceptual
6
-
ms.date: 09/27/2021
6
+
ms.date: 10/18/2021
7
7
ms.custom: devx-track-azurepowershell
8
8
ms.service: azure-powershell
9
9
---
@@ -160,6 +160,21 @@ that assigned identity.
160
160
Connect-AzAccount -Identity
161
161
```
162
162
163
+
This example connects using the Managed Service Identity of myUserAssignedIdentity. It adds the user
164
+
assigned identity to the virtual machine, then connects using the ClientId of the user assigned
165
+
identity. For more information, see
166
+
[Configure managed identities for Azure resources on an Azure VM](/active-directory/managed-identities-azure-resources/qs-configure-powershell-windows-vm).
Copy file name to clipboardExpand all lines: docs-conceptual/azps-6.4.0/authenticate-azureps.md
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Sign in with Azure PowerShell
3
3
description: How to sign in with Azure PowerShell as a user, service principal, or with managed identities for Azure resources.
4
4
ms.devlang: powershell
5
5
ms.topic: conceptual
6
-
ms.date: 09/27/2021
6
+
ms.date: 10/18/2021
7
7
ms.custom: devx-track-azurepowershell
8
8
ms.service: azure-powershell
9
9
---
@@ -160,6 +160,21 @@ that assigned identity.
160
160
Connect-AzAccount -Identity
161
161
```
162
162
163
+
This example connects using the Managed Service Identity of myUserAssignedIdentity. It adds the user
164
+
assigned identity to the virtual machine, then connects using the ClientId of the user assigned
165
+
identity. For more information, see
166
+
[Configure managed identities for Azure resources on an Azure VM](/active-directory/managed-identities-azure-resources/qs-configure-powershell-windows-vm).
Copy file name to clipboardExpand all lines: docs-conceptual/azps-6.5.0/authenticate-azureps.md
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Sign in with Azure PowerShell
3
3
description: How to sign in with Azure PowerShell as a user, service principal, or with managed identities for Azure resources.
4
4
ms.devlang: powershell
5
5
ms.topic: conceptual
6
-
ms.date: 10/12/2021
6
+
ms.date: 10/18/2021
7
7
ms.custom: devx-track-azurepowershell
8
8
ms.service: azure-powershell
9
9
---
@@ -160,6 +160,21 @@ that assigned identity.
160
160
Connect-AzAccount -Identity
161
161
```
162
162
163
+
This example connects using the Managed Service Identity of myUserAssignedIdentity. It adds the user
164
+
assigned identity to the virtual machine, then connects using the ClientId of the user assigned
165
+
identity. For more information, see
166
+
[Configure managed identities for Azure resources on an Azure VM](/active-directory/managed-identities-azure-resources/qs-configure-powershell-windows-vm).
0 commit comments