Skip to content

Commit f7c40ab

Browse files
committed
Minor tweaks and added minimum Graph PowerShell version
1 parent 3ba0977 commit f7c40ab

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/virtual-desktop/configure-single-sign-on.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ Before you can enable single sign-on, you must meet the following prerequisites:
5858

5959
- Your session hosts must be [Microsoft Entra joined](/entra/identity/devices/concept-directory-join) or [Microsoft Entra hybrid joined](/entra/identity/devices/concept-hybrid-join). Session hosts joined to Microsoft Entra Domain Services or to Active Directory Domain Services only aren't supported.
6060

61-
- If your Microsoft Entra hybrid joined session hosts are in a different domain than your user accounts, there must be a two-way trust between the 2 domains. Without the two-way trust, connections will fall back to older authentication protocols.
61+
If your Microsoft Entra hybrid joined session hosts are in a different Active Directory domain than your user accounts, there must be a two-way trust between the two domains. Without the two-way trust, connections will fall back to older authentication protocols.
62+
63+
- [Install the Microsoft Graph PowerShell SDK](/powershell/microsoftgraph/installation) version 2.9.0 or later on your local device or in [Azure Cloud Shell](../cloud-shell/overview.md).
6264

6365
- A supported Remote Desktop client to connect to a remote session. The following clients are supported:
6466

@@ -86,9 +88,7 @@ To configure the service principal, use the [Microsoft Graph PowerShell SDK](/po
8688

8789
[!INCLUDE [include-cloud-shell-local-powershell](includes/include-cloud-shell-local-powershell.md)]
8890

89-
2. [Install the Microsoft Graph PowerShell SDK](/powershell/microsoftgraph/installation) on your local device, or [Azure Cloud Shell](../cloud-shell/overview.md).
90-
91-
3. Import the *Authentication* and *Applications* Microsoft Graph modules and connect to Microsoft Graph with the `Application.Read.All` and `Application-RemoteDesktopConfig.ReadWrite.All` scopes by running the following commands:
91+
2. Make sure you installed the [Microsoft Graph PowerShell SDK](/powershell/microsoftgraph/installation) from the [prerequisites](#prerequisites), then import the *Authentication* and *Applications* Microsoft Graph modules and connect to Microsoft Graph with the `Application.Read.All` and `Application-RemoteDesktopConfig.ReadWrite.All` scopes by running the following commands:
9292

9393
```powershell
9494
Import-Module Microsoft.Graph.Authentication
@@ -97,14 +97,14 @@ To configure the service principal, use the [Microsoft Graph PowerShell SDK](/po
9797
Connect-MgGraph -Scopes "Application.Read.All","Application-RemoteDesktopConfig.ReadWrite.All"
9898
```
9999

100-
4. Get the object ID for each service principal and store them in variables by running the following commands:
100+
3. Get the object ID for each service principal and store them in variables by running the following commands:
101101

102102
```powershell
103103
$MSRDspId = (Get-MgServicePrincipal -Filter "AppId eq 'a4a365df-50f1-4397-bc59-1a1564b8bb9c'").Id
104104
$WCLspId = (Get-MgServicePrincipal -Filter "AppId eq '270efc09-cd0d-444b-a71f-39af4910ec45'").Id
105105
```
106106

107-
5. Set the property `isRemoteDesktopProtocolEnabled` to `true` by running the following commands. There's no output from these commands.
107+
4. Set the property `isRemoteDesktopProtocolEnabled` to `true` by running the following commands. There's no output from these commands.
108108

109109
```powershell
110110
If ((Get-MgServicePrincipalRemoteDesktopSecurityConfiguration -ServicePrincipalId $MSRDspId) -ne $true) {
@@ -116,7 +116,7 @@ To configure the service principal, use the [Microsoft Graph PowerShell SDK](/po
116116
}
117117
```
118118

119-
6. Confirm the property `isRemoteDesktopProtocolEnabled` is set to `true` by running the following commands:
119+
5. Confirm the property `isRemoteDesktopProtocolEnabled` is set to `true` by running the following commands:
120120

121121
```powershell
122122
Get-MgServicePrincipalRemoteDesktopSecurityConfiguration -ServicePrincipalId $MSRDspId

0 commit comments

Comments
 (0)