You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
I'm trying to create a report for my customers usage and cost.
This can be all done with the command Get-PartnerCustomerSubscriptionUsage
Only the resourceuri (where i retract the resource name that is visible on the portal) can't be retrieved from this command.
The only command that can retrieve the name is Get-PartnerCustomerSubscriptionUtilization -CustomerId $customerId -SubscriptionId $subscriptionId -StartDate $Start -EndDate $End -ShowDetails
But inside this command you've got the usage quantity and unit but no cost.
Is it possible to add also the resource uri to the first command " Get-PartnerCustomerSubscriptionUsage"
If i run both commands on the same subscription I sometimes get 0 query's for the Get-PartnerCustomerSubscriptionUtilization and a lot of data for the
Get-PartnerCustomerSubscriptionUsage. Which will give errors for my Report that one customer does not have ResourceUri in their report !!!
I'm trying to create a report for my customers usage and cost.
This can be all done with the command Get-PartnerCustomerSubscriptionUsage
Only the resourceuri (where i retract the resource name that is visible on the portal) can't be retrieved from this command.
The only command that can retrieve the name is
Get-PartnerCustomerSubscriptionUtilization -CustomerId $customerId -SubscriptionId $subscriptionId -StartDate $Start -EndDate $End -ShowDetailsBut inside this command you've got the usage quantity and unit but no cost.
Is it possible to add also the resource uri to the first command " Get-PartnerCustomerSubscriptionUsage"
If i run both commands on the same subscription I sometimes get 0 query's for the Get-PartnerCustomerSubscriptionUtilization and a lot of data for the
Get-PartnerCustomerSubscriptionUsage. Which will give errors for my Report that one customer does not have ResourceUri in their report !!!