Skip to content

Get-MgReportAzureAdLicenseUsage not accepting Report Period. #313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DaveyRance opened this issue Aug 6, 2020 · 1 comment
Closed

Get-MgReportAzureAdLicenseUsage not accepting Report Period. #313

DaveyRance opened this issue Aug 6, 2020 · 1 comment

Comments

@DaveyRance
Copy link

Version 0.7.1 of the module.

Trying to run a AD License Usage report. It will not accept any of the listed values for Period.

7Day period.
PS C:> Get-MgReportAzureAdLicenseUsage -Period 7D
Get-MgReportAzureAdLicenseUsage : Bad request received for report getAzureADLicenseUsage(): parameter 7D is not a valid period parameter. Valid parameters are '1D', '7D', '30D'
At line:1 char:1

  • Get-MgReportAzureAdLicenseUsage -Period 7D
  •   + CategoryInfo          : InvalidOperation: ({ Period = 7D }:<>f__AnonymousType3`1) [Get-MgReportAzureAdLicenseUsage_Get], Exception
      + FullyQualifiedErrorId : Microsoft.Graph.PowerShell.Cmdlets.GetMgReportAzureAdLicenseUsage_Get
    
    

Tried with and without the quotes.
Same for 1D and 30D

@ghost ghost added the ToTriage label Aug 6, 2020
@peombwa peombwa removed the ToTriage label Aug 6, 2020
@peombwa
Copy link
Member

peombwa commented Nov 11, 2020

Duplicate of #407. Downloading of reports is being tracked by #407.

@peombwa peombwa closed this as completed Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants