Skip to content

Get-MgReportOffice365Activation* results in Expected { or [ errors. #166

Closed

Description

@gkneale

Running the Get-MgReportOffice365ActivationCount or Get-MgReportOffice365ActivationUserDetail commands result in the following errors.

Get-MgReportOffice365ActivationCount : Expected '{' or '['. Was String: Report.
At line:1 char:1

  • Get-MgReportOffice365ActivationCount
  •   + CategoryInfo          : NotSpecified: (:) [Get-MgReportOffice365ActivationCount_Get], ParserException
      + FullyQualifiedErrorId : Microsoft.Graph.PowerShell.Cmdlets.GetMgReportOffice365ActivationCount_Get
    
    
    

Get-MgReportOffice365ActivationUserDetail : Expected '{' or '['. Was String: Report.
At line:1 char:1

  • $x = Get-MgReportOffice365ActivationUserDetail
  •   + CategoryInfo          : NotSpecified: (:) [Get-MgReportOff...nUserDetail_Get], ParserException
      + FullyQualifiedErrorId : Microsoft.Graph.PowerShell.Cmdlets.GetMgReportOffice365ActivationUserDetail_Get
    

Activity

  1. MIchaelMainer commented on Apr 9, 2020

    @MIchaelMainer
    Contributor

    Related #54

  2. peombwa commented on May 14, 2020

    @peombwa
    Member

    This is an issue with the code generator that we using to generate the cmdlets - it doesn't handle non JSON responses. We are currently work on a fix for this as part of work item #182.

  3. peombwa commented on Nov 11, 2020

    @peombwa
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions