Enum Class DeviceEnrollmentFailureReason

java.lang.Object
java.lang.Enum<DeviceEnrollmentFailureReason>
com.microsoft.graph.models.DeviceEnrollmentFailureReason
All Implemented Interfaces:
com.microsoft.kiota.serialization.ValuedEnum, Serializable, Comparable<DeviceEnrollmentFailureReason>, Constable

@Generated("com.microsoft.kiota") public enum DeviceEnrollmentFailureReason extends Enum<DeviceEnrollmentFailureReason> implements com.microsoft.kiota.serialization.ValuedEnum
Top level failure categories for enrollment.
  • Enum Constant Details

    • Unknown

      public static final DeviceEnrollmentFailureReason Unknown
      Default value, failure reason is unknown.
    • Authentication

      public static final DeviceEnrollmentFailureReason Authentication
      Authentication failed
    • Authorization

      public static final DeviceEnrollmentFailureReason Authorization
      Call was authenticated, but not authorized to enroll.
    • AccountValidation

      public static final DeviceEnrollmentFailureReason AccountValidation
      Failed to validate the account for enrollment. (Account blocked, enrollment not enabled)
    • UserValidation

      public static final DeviceEnrollmentFailureReason UserValidation
      User could not be validated. (User does not exist, missing license)
    • DeviceNotSupported

      public static final DeviceEnrollmentFailureReason DeviceNotSupported
      Device is not supported for mobile device management.
    • InMaintenance

      public static final DeviceEnrollmentFailureReason InMaintenance
      Account is in maintenance.
    • BadRequest

      public static final DeviceEnrollmentFailureReason BadRequest
      Client sent a request that is not understood/supported by the service.
    • FeatureNotSupported

      public static final DeviceEnrollmentFailureReason FeatureNotSupported
      Feature(s) used by this enrollment are not supported for this account.
    • EnrollmentRestrictionsEnforced

      public static final DeviceEnrollmentFailureReason EnrollmentRestrictionsEnforced
      Enrollment restrictions configured by admin blocked this enrollment.
    • ClientDisconnected

      public static final DeviceEnrollmentFailureReason ClientDisconnected
      Client timed out or enrollment was aborted by enduser.
    • UserAbandonment

      public static final DeviceEnrollmentFailureReason UserAbandonment
      Enrollment was abandoned by enduser. (Enduser started onboarding but failed to complete it in timely manner)
  • Field Details

    • value

      public final String value
  • Method Details

    • values

      public static DeviceEnrollmentFailureReason[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DeviceEnrollmentFailureReason valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      @Nonnull public String getValue()
      Specified by:
      getValue in interface com.microsoft.kiota.serialization.ValuedEnum
    • forValue

      @Nullable public static DeviceEnrollmentFailureReason forValue(@Nonnull String searchValue)