Commit a1125f6
authored
Move to 'Azure.Identity' v1.14.2 and refactor the telemetry library (#404)
Getting access token from Azure PowerShell fails with the error `"PowerShell did not return a valid response."`. This turns out to be an issue with the `Azure.Identity` library. After moving to the latest v1.14.2, it works again.
However, moving `Azure.Identity` to v1.14.2 causes a dependency conflict with the `Microsoft.ApplicationInsights.WorkerService` package, so this change also refactors the telemetry code a bit to depend on the `Microsoft.ApplicationInsights` package instead, which is lightweight and much more appropriate for this application.1 parent 5f9d0b8 commit a1125f6
File tree
2 files changed
+9
-19
lines changed- shell/agents/Microsoft.Azure.Agent
2 files changed
+9
-19
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
216 | 206 | | |
217 | 207 | | |
218 | 208 | | |
| |||
0 commit comments