Get-MgReportOffice365ActivationCount
Get the count of Microsoft 365 activations on desktops and devices.
Note
To view the beta release of this cmdlet, view Get-MgBetaReportOffice365ActivationCount
Syntax
Get-MgReportOffice365ActivationCount
-OutFile <String>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-PassThru]
[-ProgressAction <ActionPreference>]
[<CommonParameters>]
Description
Get the count of Microsoft 365 activations on desktops and devices.
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-MgReportOffice365ActivationCount
This example shows how to use the Get-MgReportOffice365ActivationCount 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