microsoft / Partner-Center-PowerShell

PowerShell module for managing Partner Center resources.
https://docs.microsoft.com/powershell/partnercenter/
MIT License
132 stars 60 forks source link

Get-PartnerCustomerSubscriptionUtilization does not return data from Azure Plan subscriptions #392

Open miked1313 opened 2 years ago

miked1313 commented 2 years ago

Steps to reproduce

Get-PartnerCustomerSubscriptionUtilization -CustomerId '<guid>' -SubscriptionId '<guid>' -StartDate '2/14/2022' -EndDate '2/15/2022' -Granularity Hourly -ShowDetails

Expected behavior

The function should return daily or hourly usage details

Actual behavior

The function returns no data

The function works if the start and end dates are before our customers were converted to Azure Plans

Diagnostic logs

None

Environment

Please share additional details about your environment. PartnerCenter Module 3.0.10

Name                           Value
----                           -----
PSVersion                      7.1.5
PSEdition                      Core
GitCommitId                    7.1.5
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0