msdyn_iotalert EntityType

Entity Set Path
[organization URI]/api/data/v9.0/msdyn_iotalerts
Base Type
Display Name
IoT Alert
Primary Key
Primary Key Attribute
Operations Supported


Properties represent fields of data stored in the entity.Some properties are read-only.

Name Type Details
createdon Edm.DateTimeOffset

Date and time when the record was created.

Display Name: Created On

Read Only
importsequencenumber Edm.Int32

Sequence number of the import that created this record.

Display Name: Import Sequence Number

modifiedon Edm.DateTimeOffset

Date and time when the record was modified.

Display Name: Modified On

Read Only
msdyn_alertdata Edm.String

Data sent from the device about the alert.

Display Name: Alert Data

msdyn_alerttime Edm.DateTimeOffset

The time the alert was issued.

Display Name: Alert Time

msdyn_alerttoken Edm.String

The unique reference to the event id on the IoT hub.

Display Name: Alert Token

msdyn_alerttype Edm.Int32

Display Name: Alert Type

Default Options
Value Label
192350000 Anomaly
192350001 Info
192350002 Preventive Maintenance
192350003 Test
msdyn_alerturl Edm.String

External URL to view more information about the iot alert.

Display Name: Alert URL

msdyn_description Edm.String

A description for the alert.

Display Name: Description

msdyn_deviceid Edm.String

The ID of the IoT device that sent the alert.

Display Name: Device ID

msdyn_iotalertid Edm.Guid

Unique identifier for entity instances

Display Name: IoT Alert

msdyn_lastcommandsenttime Edm.DateTimeOffset

Display Name: Last Command Sent Time

msdyn_parentalerttoken Edm.String

Reference to a previously created parent iot alert

Display Name: Parent Alert Token

overriddencreatedon Edm.DateTimeOffset

Date and time that the record was migrated.

Display Name: Record Created On

processid Edm.Guid

Contains the id of the process associated with the entity.

Display Name: Process Id

statecode Edm.Int32

Status of the IoT Alert

Display Name: Status

Default Options
Value Label
0 Active
1 Inactive
statuscode Edm.Int32

Reason for the status of the IoT Alert

Display Name: Status Reason

Default Options
Value Label
1 Active
2 Inactive
timezoneruleversionnumber Edm.Int32

For internal use only.

Display Name: Time Zone Rule Version Number

traversedpath Edm.String

A comma separated list of string values representing the unique identifiers of stages in a Business Process Flow Instance in the order that they occur.

Display Name: Traversed Path

utcconversiontimezonecode Edm.Int32

Time zone code that was in use when the record was created.

Display Name: UTC Conversion Time Zone Code

versionnumber Edm.Int64

Version Number

Display Name: Version Number

Read Only

Lookup Properties

Lookup properties are read-only, computed properties which contain entity primary key Edm.Guid data for one or more corresponding single-valued navigation properties. More information: Lookup properties and Retrieve data about lookup properties.

Name Single-valued navigation property Description
_createdby_value createdby

Unique identifier of the user who created the record.

_createdonbehalfby_value createdonbehalfby

Unique identifier of the delegate user who created the record.

_modifiedby_value modifiedby

Unique identifier of the user who modified the record.

_modifiedonbehalfby_value modifiedonbehalfby

Unique identifier of the delegate user who modified the record.

_msdyn_customerasset_value msdyn_CustomerAsset

The asset connected to the IoT device that raised the alert.

_msdyn_device_value msdyn_Device

The IoT device for which this alert was raised.

_msdyn_lastcommandsent_value msdyn_LastCommandSent
_msdyn_parentalert_value msdyn_ParentAlert

Reference to a parent alert. This field is inferred if Parent Alert Token is set.

_msdyn_workorder_value msdyn_Workorder

Work order created for this iot alert.

_ownerid_value ownerid

Owner Id

_owningbusinessunit_value owningbusinessunit

Unique identifier for the business unit that owns the record

_owningteam_value owningteam

Unique identifier for the team that owns the record.

_owninguser_value owninguser

Unique identifier for the user that owns the record.

_stageid_value stageid

Contains the id of the stage where the entity is located.

Single-valued navigation properties

Single-valued navigation properties represent lookup fields where a single entity can be referenced. Each single-valued navigation property has a corresponding partner collection-valued navigation property on the related entity.

Name Type Partner
createdby systemuser lk_msdyn_iotalert_createdby
createdonbehalfby systemuser lk_msdyn_iotalert_createdonbehalfby
modifiedby systemuser lk_msdyn_iotalert_modifiedby
modifiedonbehalfby systemuser lk_msdyn_iotalert_modifiedonbehalfby
msdyn_CustomerAsset msdyn_customerasset msdyn_msdyn_customerasset_msdyn_iotalert_CustomerAsset
msdyn_Device msdyn_iotdevice msdyn_msdyn_iotdevice_msdyn_iotalert_Device
msdyn_LastCommandSent msdyn_iotdevicecommand msdyn_msdyn_iotdevicecommand_msdyn_iotalert_LastCommandSent
msdyn_ParentAlert msdyn_iotalert msdyn_iotalert_msdyn_iotalert
msdyn_Workorder msdyn_workorder msdyn_msdyn_workorder_msdyn_iotalert_Workorder
ownerid principal owner_msdyn_iotalert
owningbusinessunit businessunit business_unit_msdyn_iotalert
owningteam team team_msdyn_iotalert
owninguser systemuser user_msdyn_iotalert
stageid processstage processstage_msdyn_iotalert

Collection-valued navigation properties

Collection-valued navigation properties represent collections of entities which may represent either a one-to-many (1:N) or many-to-many (N:N) relationship between the entities.

Name Type Partner
bpf_msdyn_iotalert_msdyn_bpf_477c16f59170487b8b4dc895c5dcd09b msdyn_bpf_477c16f59170487b8b4dc895c5dcd09b bpf_msdyn_iotalertid
msdyn_iotalert_Annotations annotation objectid_msdyn_iotalert
msdyn_iotalert_AsyncOperations asyncoperation regardingobjectid_msdyn_iotalert
msdyn_iotalert_BulkDeleteFailures bulkdeletefailure regardingobjectid_msdyn_iotalert
msdyn_iotalert_connections1 connection record1id_msdyn_iotalert
msdyn_iotalert_connections2 connection record2id_msdyn_iotalert
msdyn_iotalert_MailboxTrackingFolders mailboxtrackingfolder regardingobjectid_msdyn_iotalert
msdyn_iotalert_msdyn_iotalert msdyn_iotalert msdyn_ParentAlert
msdyn_iotalert_PrincipalObjectAttributeAccesses principalobjectattributeaccess objectid_msdyn_iotalert
msdyn_iotalert_ProcessSession processsession regardingobjectid_msdyn_iotalert
msdyn_iotalert_QueueItems queueitem objectid_msdyn_iotalert
msdyn_iotalert_SyncErrors syncerror regardingobjectid_msdyn_iotalert
msdyn_msdyn_iotalert_msdyn_iotdevicecommand_ParentAlert msdyn_iotdevicecommand msdyn_ParentAlert
msdyn_msdyn_iotalert_msdyn_workorder_IoTAlert msdyn_workorder msdyn_IoTAlert


The following operations can be used with the msdyn_iotalert entity type.

Name Binding
GrantAccess Not Bound
IsValidStateTransition Not Bound
ModifyAccess Not Bound
msdyn_ParentIoTAlerts Entity
RetrievePrincipalAccess Not Bound
RetrieveSharedPrincipalsAndAccess Not Bound
RevokeAccess Not Bound


The following solutions include the msdyn_iotalert entity type.

Name Description
Connected Field Service for Microsoft Dynamics 365 Use Connected Field Service to monitor connected devices to make sure your customer’s equipment is always functioning properly. If a piece of equipment fails, you’ll receive a notification, so that you can troubleshoot the problem remotely or send a technician to fix it.
IoT Connector for Microsoft Dynamics 365 Enables IoT scenarios in Dynamics 365.

See also