Skip to content

Commit 0cdeeed

Browse files
committed
Rename underlying command used by the Get-AzureRmAuthorizationChangelog command since it was renamed. Also address review comments
1 parent c029c88 commit 0cdeeed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Resources/Commands.Resources/ResourceManagerStartup.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Remove-AzureRmRoleAssignment
119119
)
120120
PROCESS {
121121
# Get all events for the "Microsoft.Authorization" provider by calling the Insights commandlet
122-
$events = Get-AzureRmResourceProviderLog -ResourceProvider "Microsoft.Authorization" -DetailedOutput -StartTime $StartTime -EndTime $EndTime
122+
$events = Get-AzureRmLog -ResourceProvider "Microsoft.Authorization" -DetailedOutput -StartTime $StartTime -EndTime $EndTime
123123

124124
$startEvents = @{}
125125
$endEvents = @{}

0 commit comments

Comments
 (0)