< Back

New-DeviceManagement_TroubleshootingEvents

Sat Jan 18, 2020 12:26 pm

NAME New-DeviceManagement_TroubleshootingEvents



SYNOPSIS

Creates a "microsoft.graph.deviceManagementTroubleshootingEvent" object.





SYNTAX

New-DeviceManagement_TroubleshootingEvents -deviceManagementTroubleshootingEvent <SwitchParameter> [-correlationId

<string>] [-eventDateTime <DateTimeOffset>] [<CommonParameters>]



New-DeviceManagement_TroubleshootingEvents -enrollmentTroubleshootingEvent <SwitchParameter> [-correlationId

<string>] [-deviceId <string>] [-enrollmentType <string>] [-eventDateTime <DateTimeOffset>] [-failureCategory

<string>] [-failureReason <string>] [-managedDeviceIdentifier <string>] [-operatingSystem <string>] [-osVersion

<string>] [-userId <string>] [<CommonParameters>]



New-DeviceManagement_TroubleshootingEvents -ODataType <string> [-correlationId <string>] [-deviceId <string>]

[-enrollmentType <string>] [-eventDateTime <DateTimeOffset>] [-failureCategory <string>] [-failureReason <string>]

[-managedDeviceIdentifier <string>] [-operatingSystem <string>] [-osVersion <string>] [-userId <string>]

[<CommonParameters>]





DESCRIPTION

Adds a "microsoft.graph.deviceManagementTroubleshootingEvent" object to the "troubleshootingEvents" collection.



The list of troubleshooting events for the tenant.



Graph call: POST ~/deviceManagement/troubleshootingEvents





PARAMETERS

-deviceManagementTroubleshootingEvent <SwitchParameter>

A switch parameter for selecting the parameter set which corresponds to the

"microsoft.graph.deviceManagementTroubleshootingEvent" type.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-eventDateTime <DateTimeOffset>

The "eventDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type.



Time when the event occurred .



Required? false

Position? named

Default value 1/1/0001 12:00:00 AM +00:00

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-correlationId <string>

The "correlationId" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type.



Id used for tracing the failure in the service.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-enrollmentTroubleshootingEvent <SwitchParameter>

A switch parameter for selecting the parameter set which corresponds to the

"microsoft.graph.enrollmentTroubleshootingEvent" type.



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-managedDeviceIdentifier <string>

The "managedDeviceIdentifier" property, of type "Edm.String".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Device identifier created or collected by Intune.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-operatingSystem <string>

The "operatingSystem" property, of type "Edm.String".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Operating System.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-osVersion <string>

The "osVersion" property, of type "Edm.String".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



OS Version.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-userId <string>

The "userId" property, of type "Edm.String".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Identifier for the user that tried to enroll the device.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-deviceId <string>

The "deviceId" property, of type "Edm.String".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Azure AD device identifier.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-enrollmentType <string>

The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Type of the enrollment.



Valid values: 'unknown', 'userEnrollment', 'deviceEnrollmentManager', 'appleBulkWithUser',

'appleBulkWithoutUser', 'windowsAzureADJoin', 'windowsBulkUserless', 'windowsAutoEnrollment',

'windowsBulkAzureDomainJoin', 'windowsCoManagement'



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-failureCategory <string>

The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Highlevel failure category.



Valid values: 'unknown', 'authentication', 'authorization', 'accountValidation', 'userValidation',

'deviceNotSupported', 'inMaintenance', 'badRequest', 'featureNotSupported', 'enrollmentRestrictionsEnforced',

'clientDisconnected', 'userAbandonment'



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-failureReason <string>

The "failureReason" property, of type "Edm.String".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Detailed failure reason.



Required? false

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ODataType <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-@odata.type <string>

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.



This is an alias of the ODataType parameter.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.DateTimeOffset

The "eventDateTime" property, of type "Edm.DateTimeOffset".



This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type.



Time when the event occurred .



System.String

The "correlationId" property, of type "Edm.String".



This property is on the "microsoft.graph.deviceManagementTroubleshootingEvent" type.



Id used for tracing the failure in the service.



System.String

The "managedDeviceIdentifier" property, of type "Edm.String".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Device identifier created or collected by Intune.



System.String

The "operatingSystem" property, of type "Edm.String".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Operating System.



System.String

The "osVersion" property, of type "Edm.String".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



OS Version.



System.String

The "userId" property, of type "Edm.String".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Identifier for the user that tried to enroll the device.



System.String

The "deviceId" property, of type "Edm.String".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Azure AD device identifier.



System.String

The "enrollmentType" property, of type "microsoft.graph.deviceEnrollmentType".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Type of the enrollment.



Valid values: 'unknown', 'userEnrollment', 'deviceEnrollmentManager', 'appleBulkWithUser',

'appleBulkWithoutUser', 'windowsAzureADJoin', 'windowsBulkUserless', 'windowsAutoEnrollment',

'windowsBulkAzureDomainJoin', 'windowsCoManagement'



System.String

The "failureCategory" property, of type "microsoft.graph.deviceEnrollmentFailureReason".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Highlevel failure category.



Valid values: 'unknown', 'authentication', 'authorization', 'accountValidation', 'userValidation',

'deviceNotSupported', 'inMaintenance', 'badRequest', 'featureNotSupported', 'enrollmentRestrictionsEnforced',

'clientDisconnected', 'userAbandonment'



System.String

The "failureReason" property, of type "Edm.String".



This property is on the "microsoft.graph.enrollmentTroubleshootingEvent" type.



Detailed failure reason.



System.String

The value provided in a search result (i.e. GET on a collection) in the "@odata.type" property.





OUTPUTS





RELATED LINKS

GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK