Skip to content

Commit 2b94b8d

Browse files
pagariyaalokknithinc
authored andcommitted
Namespace updated to fetch tenant usage. (#466)
Namespace updated to fetch tenant usage.
1 parent 4501af4 commit 2b94b8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Usage/AppService/Common.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function Get-AppServiceBillingRecords
136136
#build usage uri and set meters
137137
if ($TenantUsage)
138138
{
139-
$usageResourceType = "Microsoft.Commerce/locations/subscriberUsageAggregates"
139+
$usageResourceType = "Microsoft.Commerce.Admin/locations/subscriberUsageAggregates"
140140
$meters = $AppServiceTenantMeters
141141
}
142142
else
@@ -191,4 +191,4 @@ function Get-AppServiceBillingRecords
191191
}
192192

193193
return $usageSummary
194-
}
194+
}

0 commit comments

Comments
 (0)