Skip to content

Commit b6f2bb9

Browse files
authored
Merge pull request #90494 from ChristianMontoya/patch-4
Updating diagnostics tool info
2 parents 63d010f + e902854 commit b6f2bb9

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

articles/virtual-desktop/deploy-diagnostics.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,22 @@ This section will show you how to use PowerShell to create the Azure Active Dire
4747
>The API permissions are Windows Virtual Desktop, Log Analytics and Microsoft Graph API permissions are added to the Azure Active Directory Application.
4848
4949
1. Open PowerShell as an Administrator.
50-
2. Go to the [RDS-Templates GitHub repo](https://github.com/Azure/RDS-Templates/tree/master/wvd-templates/diagnostics-sample/deploy/scripts) and run the **Create AD App Registration for Diagnostics.ps1** script in PowerShell.
51-
3. When the script asks you to name your app, enter a unique app name.
52-
4. The script will then ask you to sign in with an administrative account. Enter the credentials of a user with [delegated admin access](delegated-access-virtual-desktop.md). The admin should have either RDS Owner or Contributor rights.
50+
2. Sign in to Azure with an account that has Owner or Contributor permissions on the Azure subscription you would like to use for the diagnostics tool:
51+
```powershell
52+
Login-AzAccount
53+
```
54+
3. Sign in to Azure AD with the same account:
55+
```powershell
56+
Connect-AzureAD
57+
```
58+
4. Go to the [RDS-Templates GitHub repo](https://github.com/Azure/RDS-Templates/tree/master/wvd-templates/diagnostics-sample/deploy/scripts) and run the **CreateADAppRegistrationforDiagnostics.ps1** script in PowerShell.
59+
5. When the script asks you to name your app, enter a unique app name.
60+
5361

5462
After the script successfully runs, it should show the following things in its output:
5563

5664
- A message that confirms your app now has a service principal role assignment.
57-
- Your Print Client ID and Client Secret Key that you'll need for when you deploy the diagnostics tool.
65+
- Your Client ID and Client Secret Key that you'll need for when you deploy the diagnostics tool.
5866

5967
Now that you've registered your app, it's time to configure your Log Analytics workspace.
6068

@@ -72,7 +80,7 @@ You can run a PowerShell script to create a Log Analytics workspace and configur
7280
To run the PowerShell script:
7381

7482
1. Open PowerShell as an admin.
75-
2. Go to the [RDS-Templates GitHub repo](https://github.com/Azure/RDS-Templates/tree/master/wvd-templates/diagnostics-sample/deploy/scripts) and run the **Create LogAnalyticsWorkspace for Diagnostics.ps1** script in PowerShell.
83+
2. Go to the [RDS-Templates GitHub repo](https://github.com/Azure/RDS-Templates/tree/master/wvd-templates/diagnostics-sample/deploy/scripts) and run the **CreateLogAnalyticsWorkspaceforDiagnostics.ps1** script in PowerShell.
7684
3. Enter the following values for the parameters:
7785

7886
- For **ResourceGroupName**, enter the name for the resource group.

0 commit comments

Comments
 (0)