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:
3535
3636 > [ !NOTE]
3737 > 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.
3839
3940 1 . On the ** Function App** , select ** App files** .
4041 1 . Under the ** host.json** , enable ** ManagedDependecy** to ** True** and select ** requirements.psd1** .
4142 1 . Under the ** requirements.psd1** , paste the following code:
4243
4344 ```
4445 @{
45- 'Az'='5 .*'
46- 'Az.ResourceGraph'='0.13 .0'
46+ 'Az'='12 .*'
47+ 'Az.ResourceGraph'='1.0 .0'
4748 'Az.Resources'='6.*'
4849 'ThreadJob' = '2.*'
4950 }
@@ -162,7 +163,7 @@ In this tutorial, you learn how to:
162163 Connect-AzAccount -Identity
163164
164165 # Install the Resource Graph module from PowerShell Gallery
165- # Install-Module -Name Az.ResourceGraph
166+ Install-Module -Name Az.ResourceGraph
166167
167168 $maintenanceRunId = $eventGridEvent.data.CorrelationId
168169 $resourceSubscriptionIds = $eventGridEvent.data.ResourceSubscriptionIds
You can’t perform that action at this time.
0 commit comments