File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
articles/lighthouse/how-to Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ if ($showOperations.operationName.value -eq "Microsoft.Resources/tenants/registe
160
160
if ($showOperations.operationName.value -eq "Microsoft.Resources/tenants/unregister/action") {
161
161
$unregisterOutputs = $showOperations | Where-Object -FilterScript { $_.eventName.value -eq "EndRequest" -and $_.resourceType.value -and $_.operationName.value -eq "Microsoft.Resources/tenants/unregister/action" }
162
162
foreach ($unregisterOutput in $unregisterOutputs) {
163
- $eventDescription = $registerOutput .description | ConvertFrom-Json;
163
+ $eventDescription = $unregisterOutput .description | ConvertFrom-Json;
164
164
$unregisterOutputdata = [pscustomobject]@{
165
165
Event = "An Azure customer has unregistered delegated resources from your Azure tenant";
166
166
DelegatedResourceId = $eventDescription.delegationResourceId;
You can’t perform that action at this time.
0 commit comments