File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,16 @@ In this tutorial, you learn how to:
35
35
36
36
> [ !NOTE]
37
37
> You have to load the dependencies only for the first time.
38
+ > If the PowerShell dependencies are failing to load. Check the latest versions of AZ, and AZ.ResourceGraph.
38
39
39
40
1 . On the ** Function App** , select ** App files** .
40
41
1 . Under the ** host.json** , enable ** ManagedDependecy** to ** True** and select ** requirements.psd1** .
41
42
1 . Under the ** requirements.psd1** , paste the following code:
42
43
43
44
```
44
45
@{
45
- 'Az'='5 .*'
46
- 'Az.ResourceGraph'='0.13 .0'
46
+ 'Az'='12 .*'
47
+ 'Az.ResourceGraph'='1.0 .0'
47
48
'Az.Resources'='6.*'
48
49
'ThreadJob' = '2.*'
49
50
}
@@ -162,7 +163,7 @@ In this tutorial, you learn how to:
162
163
Connect-AzAccount -Identity
163
164
164
165
# Install the Resource Graph module from PowerShell Gallery
165
- # Install-Module -Name Az.ResourceGraph
166
+ Install-Module -Name Az.ResourceGraph
166
167
167
168
$maintenanceRunId = $eventGridEvent.data.CorrelationId
168
169
$resourceSubscriptionIds = $eventGridEvent.data.ResourceSubscriptionIds
You can’t perform that action at this time.
0 commit comments