Partager via


Get-MgReportOffice365ActivationUserCount

Get the count of users that are enabled and those that have activated the Office subscription on desktop or devices or shared computers.

Note

To view the beta release of this cmdlet, view Get-MgBetaReportOffice365ActivationUserCount

Syntax

Get-MgReportOffice365ActivationUserCount
   -OutFile <String>
   [-ResponseHeadersVariable <String>]
   [-Headers <IDictionary>]
   [-PassThru]
   [-ProgressAction <ActionPreference>]
   [<CommonParameters>]

Description

Get the count of users that are enabled and those that have activated the Office subscription on desktop or devices or shared computers.

Permissions

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) Reports.Read.All Not available.
Delegated (personal Microsoft account) Not supported. Not supported.
Application Reports.Read.All Not available.

Examples

Example 1: Code snippet

Import-Module Microsoft.Graph.Reports

Get-MgReportOffice365ActivationUserCount

This example shows how to use the Get-MgReportOffice365ActivationUserCount Cmdlet.

Parameters

-Headers

Optional headers that will be added to the request.

Type:IDictionary
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-OutFile

Path to write output file to

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Returns true when the command succeeds

Type:SwitchParameter
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProgressAction

{{ Fill ProgressAction Description }}

Type:ActionPreference
Aliases:proga
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResponseHeadersVariable

Optional Response Headers Variable.

Type:String
Aliases:RHV
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.Collections.IDictionary

Outputs

System.Boolean