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/virtual-desktop/deploy-diagnostics.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,14 +47,22 @@ This section will show you how to use PowerShell to create the Azure Active Dire
47
47
>The API permissions are Windows Virtual Desktop, Log Analytics and Microsoft Graph API permissions are added to the Azure Active Directory Application.
48
48
49
49
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
+
53
61
54
62
After the script successfully runs, it should show the following things in its output:
55
63
56
64
- 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.
58
66
59
67
Now that you've registered your app, it's time to configure your Log Analytics workspace.
60
68
@@ -72,7 +80,7 @@ You can run a PowerShell script to create a Log Analytics workspace and configur
72
80
To run the PowerShell script:
73
81
74
82
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.
76
84
3. Enter the following values for the parameters:
77
85
78
86
- For **ResourceGroupName**, enter the name for the resource group.
0 commit comments