Dynamics 365 – Entity Type Code List

This article is a copy of my post on my old SPandCRM.com blog, I will be slowly moving across some of the more popular articles.

Another quick reference article today, in this article I’ll provide a list of type codes which are internal ID references to entities and I’ll provide some and SQL query that will allow you to easily return your own ID values.

It’s worth knowing that Microsoft has reserved ID numbers 0 – 10,000 with any custom entities appearing from 10,000 onwards. Any system entities should have the same ID’s as below but you will need to run the below code against your organisation database to return custom entity ID’s-

select [ObjectTypeCode], [Name], [LogicalName]  
from EntityView 
order by ObjectTypeCode


Entity ID List

IDNameLogicalName
2Contactcontact
3Opportunityopportunity
4Leadlead
5Annotationannotation
6BusinessUnitMapbusinessunitmap
7Ownerowner
8SystemUsersystemuser
9Teamteam
10BusinessUnitbusinessunit
11PrincipalObjectAccessprincipalobjectaccess
12RolePrivilegesroleprivileges
13SystemUserLicensessystemuserlicenses
14SystemUserPrincipalssystemuserprincipals
15SystemUserRolessystemuserroles
16AccountLeadsaccountleads
17ContactInvoicescontactinvoices
18ContactQuotescontactquotes
19ContactOrderscontactorders
20ServiceContractContactsservicecontractcontacts
21ProductSalesLiteratureproductsalesliterature
22ContactLeadscontactleads
23TeamMembershipteammembership
24LeadCompetitorsleadcompetitors
25OpportunityCompetitorsopportunitycompetitors
26CompetitorSalesLiteraturecompetitorsalesliterature
27LeadProductleadproduct
28RoleTemplatePrivilegesroletemplateprivileges
29Subscriptionsubscription
30FilterTemplatefiltertemplate
31PrivilegeObjectTypeCodesprivilegeobjecttypecodes
32SalesProcessInstancesalesprocessinstance
33SubscriptionSyncInfosubscriptionsyncinfo
35SubscriptionTrackingDeletedObjectsubscriptiontrackingdeletedobject
36ClientUpdateclientupdate
37SubscriptionManuallyTrackedObjectsubscriptionmanuallytrackedobject
39SharedObjectsForReadsharedobjectsforread
40TeamRolesteamroles
41PrincipalEntityMapprincipalentitymap
42SystemUserBusinessUnitEntityMapsystemuserbusinessunitentitymap
43PrincipalAttributeAccessMapprincipalattributeaccessmap
44PrincipalObjectAttributeAccessprincipalobjectattributeaccess
45SubscriptionStatisticsOfflinesubscriptionstatisticsoffline
46SubscriptionStatisticsOutlooksubscriptionstatisticsoutlook
47SubscriptionSyncEntryOfflinesubscriptionsyncentryoffline
48SubscriptionSyncEntryOutlooksubscriptionsyncentryoutlook
50Positionposition
51SystemUserManagerMapsystemusermanagermap
52UserSearchFacetusersearchfacet
90PrincipalObjectAccessReadSnapshotprincipalobjectaccessreadsnapshot
91RecordCountSnapshotrecordcountsnapshot
92TeamTemplateteamtemplate
99SocialProfilesocialprofile
112Incidentincident
113ChildIncidentCountchildincidentcount
123Competitorcompetitor
126DocumentIndexdocumentindex
127KbArticlekbarticle
129Subjectsubject
132BusinessUnitNewsArticlebusinessunitnewsarticle
135ActivityPartyactivityparty
150UserSettingsusersettings
950NewProcessnewprocess
951TranslationProcesstranslationprocess
952PhoneToCaseProcessphonetocaseprocess
953OpportunitySalesProcessopportunitysalesprocess
954LeadToOpportunitySalesProcessleadtoopportunitysalesprocess
955ExpiredProcessexpiredprocess
1001ActivityMimeAttachmentactivitymimeattachment
1002Attachmentattachment
1003InternalAddressinternaladdress
1004CompetitorAddresscompetitoraddress
1006CompetitorProductcompetitorproduct
1007ImageDescriptorimagedescriptor
1010Contractcontract
1011ContractDetailcontractdetail
1013Discountdiscount
1016KbArticleTemplatekbarticletemplate
1017LeadAddressleadaddress
1019Organizationorganization
1021OrganizationUIorganizationui
1022PriceLevelpricelevel
1023Privilegeprivilege
1024Productproduct
1025ProductAssociationproductassociation
1026ProductPriceLevelproductpricelevel
1028ProductSubstituteproductsubstitute
1030SystemFormsystemform
1031UserFormuserform
1036Rolerole
1037RoleTemplateroletemplate
1038SalesLiteraturesalesliterature
1039SavedQuerysavedquery
1043StringMapstringmap
1048DynamicPropertydynamicproperty
1049DynamicPropertyOptionSetItemdynamicpropertyoptionsetitem
1055UoMuom
1056UoMScheduleuomschedule
1070SalesLiteratureItemsalesliteratureitem
1071CustomerAddresscustomeraddress
1072SubscriptionClientssubscriptionclients
1075StatusMapstatusmap
1080DiscountTypediscounttype
1082KbArticleCommentkbarticlecomment
1083OpportunityProductopportunityproduct
1084Quotequote
1085QuoteDetailquotedetail
1086UserFiscalCalendaruserfiscalcalendar
1088SalesOrdersalesorder
1089SalesOrderDetailsalesorderdetail
1090Invoiceinvoice
1091InvoiceDetailinvoicedetail
1094AuthorizationServerauthorizationserver
1095PartnerApplicationpartnerapplication
1111SavedQueryVisualizationsavedqueryvisualization
1112UserQueryVisualizationuserqueryvisualization
1113RibbonTabToCommandMapribbontabtocommandmap
1115RibbonContextGroupribboncontextgroup
1116RibbonCommandribboncommand
1117RibbonRuleribbonrule
1120RibbonCustomizationribboncustomization
1130RibbonDiffribbondiff
1140ReplicationBacklogreplicationbacklog
1141Characteristiccharacteristic
1142RatingValueratingvalue
1144RatingModelratingmodel
1145BookableResourceBookingbookableresourcebooking
1146BookableResourceBookingHeaderbookableresourcebookingheader
1147BookableResourceCategorybookableresourcecategory
1148BookableResourceCharacteristicbookableresourcecharacteristic
1149BookableResourceCategoryAssnbookableresourcecategoryassn
1150BookableResourcebookableresource
1151BookableResourceGroupbookableresourcegroup
1152BookingStatusbookingstatus
1189RecommendedDocumentrecommendeddocument
1200FieldSecurityProfilefieldsecurityprofile
1201FieldPermissionfieldpermission
1202SystemUserProfilessystemuserprofiles
1203TeamProfilesteamprofiles
1213QueueMembershipqueuemembership
1234ChannelPropertyGroupchannelpropertygroup
1235DynamicPropertyAssociationdynamicpropertyassociation
1236ChannelPropertychannelproperty
1300SocialInsightsConfigurationsocialinsightsconfiguration
1309SavedOrgInsightsConfigurationsavedorginsightsconfiguration
1333DynamicPropertyInstancedynamicpropertyinstance
1400SyncAttributeMappingProfilesyncattributemappingprofile
1401SyncAttributeMappingsyncattributemapping
1402SystemUserSyncMappingProfilessystemusersyncmappingprofiles
1403TeamSyncAttributeMappingProfilesteamsyncattributemappingprofiles
1404PrincipalSyncAttributeMapprincipalsyncattributemap
2000AnnualFiscalCalendarannualfiscalcalendar
2001SemiAnnualFiscalCalendarsemiannualfiscalcalendar
2002QuarterlyFiscalCalendarquarterlyfiscalcalendar
2003MonthlyFiscalCalendarmonthlyfiscalcalendar
2004FixedMonthlyFiscalCalendarfixedmonthlyfiscalcalendar
2010Templatetemplate
2011ContractTemplatecontracttemplate
2012UnresolvedAddressunresolvedaddress
2013Territoryterritory
2015Themetheme
2016UserMappingusermapping
2020Queuequeue
2023QueueItemCountqueueitemcount
2024QueueMemberCountqueuemembercount
2027Licenselicense
2029QueueItemqueueitem
2500UserEntityUISettingsuserentityuisettings
2501UserEntityInstanceDatauserentityinstancedata
3000IntegrationStatusintegrationstatus
3005ChannelAccessProfilechannelaccessprofile
3008ExternalPartyexternalparty
3231ConnectionRoleconnectionrole
3232ConnectionRoleAssociationconnectionroleassociation
3233ConnectionRoleObjectTypeCodeconnectionroleobjecttypecode
3234Connectionconnection
4000Equipmentequipment
4001Serviceservice
4002Resourceresource
4003Calendarcalendar
4004CalendarRulecalendarrule
4005ResourceGroupresourcegroup
4006ResourceSpecresourcespec
4007ConstraintBasedGroupconstraintbasedgroup
4009Sitesite
4010ResourceGroupExpansionresourcegroupexpansion
4011InterProcessLockinterprocesslock
4023EmailHashemailhash
4101DisplayStringMapdisplaystringmap
4102DisplayStringdisplaystring
4110Notificationnotification
4120ExchangeSyncIdMappingexchangesyncidmapping
4200ActivityPointeractivitypointer
4201Appointmentappointment
4202Emailemail
4204Faxfax
4206IncidentResolutionincidentresolution
4207Letterletter
4208OpportunityCloseopportunityclose
4209OrderCloseorderclose
4210PhoneCallphonecall
4211QuoteClosequoteclose
4212Tasktask
4214ServiceAppointmentserviceappointment
4215Commitmentcommitment
4216SocialActivitysocialactivity
4220UntrackedEmailuntrackedemail
4230UserQueryuserquery
4231MetadataDifferencemetadatadifference
4232BusinessDataLocalizedLabelbusinessdatalocalizedlabel
4250RecurrenceRulerecurrencerule
4251RecurringAppointmentMasterrecurringappointmentmaster
4299EmailSearchemailsearch
4300Listlist
4301ListMemberlistmember
4400Campaigncampaign
4401CampaignResponsecampaignresponse
4402CampaignActivitycampaignactivity
4403CampaignItemcampaignitem
4404CampaignActivityItemcampaignactivityitem
4405BulkOperationLogbulkoperationlog
4406BulkOperationbulkoperation
4410Importimport
4411ImportMapimportmap
4412ImportFileimportfile
4413ImportDataimportdata
4414DuplicateRuleduplicaterule
4415DuplicateRecordduplicaterecord
4416DuplicateRuleConditionduplicaterulecondition
4417ColumnMappingcolumnmapping
4418PickListMappingpicklistmapping
4419LookUpMappinglookupmapping
4420OwnerMappingownermapping
4421BookableResourceBookingExchangeSyncIdMappingbookableresourcebookingexchangesyncidmapping
4423ImportLogimportlog
4424BulkDeleteOperationbulkdeleteoperation
4425BulkDeleteFailurebulkdeletefailure
4426TransformationMappingtransformationmapping
4427TransformationParameterMappingtransformationparametermapping
4428ImportEntityMappingimportentitymapping
4450DataPerformancedataperformance
4490OfficeDocumentofficedocument
4500RelationshipRolerelationshiprole
4501RelationshipRoleMaprelationshiprolemap
4502CustomerRelationshipcustomerrelationship
4503CustomerOpportunityRolecustomeropportunityrole
4545EntitlementTemplateProductsentitlementtemplateproducts
4567Auditaudit
4600EntityMapentitymap
4601AttributeMapattributemap
4602PluginTypeplugintype
4603PluginTypeStatisticplugintypestatistic
4605PluginAssemblypluginassembly
4606SdkMessagesdkmessage
4607SdkMessageFiltersdkmessagefilter
4608SdkMessageProcessingStepsdkmessageprocessingstep
4609SdkMessageRequestsdkmessagerequest
4610SdkMessageResponsesdkmessageresponse
4611SdkMessageResponseFieldsdkmessageresponsefield
4613SdkMessagePairsdkmessagepair
4614SdkMessageRequestFieldsdkmessagerequestfield
4615SdkMessageProcessingStepImagesdkmessageprocessingstepimage
4616SdkMessageProcessingStepSecureConfigsdkmessageprocessingstepsecureconfig
4618ServiceEndpointserviceendpoint
4619PluginTraceLogplugintracelog
4700AsyncOperationasyncoperation
4702WorkflowWaitSubscriptionworkflowwaitsubscription
4703Workflowworkflow
4704WorkflowDependencyworkflowdependency
4705IsvConfigisvconfig
4706WorkflowLogworkflowlog
4707ApplicationFileapplicationfile
4708OrganizationStatisticorganizationstatistic
4709SiteMapsitemap
4710ProcessSessionprocesssession
4712ProcessTriggerprocesstrigger
4724ProcessStageprocessstage
4725BusinessProcessFlowInstancebusinessprocessflowinstance
4800WebWizardwebwizard
4802WizardPagewizardpage
4803WizardAccessPrivilegewizardaccessprivilege
4810TimeZoneDefinitiontimezonedefinition
4811TimeZoneRuletimezonerule
4812TimeZoneLocalizedNametimezonelocalizedname
6363EntitlementProductsentitlementproducts
7000SystemApplicationMetadatasystemapplicationmetadata
7001UserApplicationMetadatauserapplicationmetadata
7100Solutionsolution
7101Publisherpublisher
7102PublisherAddresspublisheraddress
7103SolutionComponentsolutioncomponent
7105Dependencydependency
7106DependencyNodedependencynode
7107InvalidDependencyinvaliddependency
7108DependencyFeaturedependencyfeature
7272EntitlementContactsentitlementcontacts
8000Postpost
8001PostRolepostrole
8002PostRegardingpostregarding
8003PostFollowpostfollow
8005PostCommentpostcomment
8006PostLikepostlike
8050TraceLogtracelog
8051TraceAssociationtraceassociation
8052TraceRegardingtraceregarding
8181RoutingRuleroutingrule
8199RoutingRuleItemroutingruleitem
8840HierarchyRulehierarchyrule
9006AppModuleappmodule
9007AppModuleComponentappmodulecomponent
9009AppModuleRolesappmoduleroles
9100Reportreport
9101ReportEntityreportentity
9102ReportCategoryreportcategory
9103ReportVisibilityreportvisibility
9104ReportLinkreportlink
9105TransactionCurrencytransactioncurrency
9106MailMergeTemplatemailmergetemplate
9107ImportJobimportjob
9201LocalConfigStorelocalconfigstore
9300ConvertRuleconvertrule
9301ConvertRuleItemconvertruleitem
9333WebResourcewebresource
9400ChannelAccessProfileRulechannelaccessprofilerule
9401ChannelAccessProfileRuleItemchannelaccessprofileruleitem
9404ChannelAccessProfileEntityAccessLevelchannelaccessprofileentityaccesslevel
9502SharePointSitesharepointsite
9507SharePointDocumentsharepointdocument
9508SharePointDocumentLocationsharepointdocumentlocation
9509SharePointDatasharepointdata
9510RollupPropertiesrollupproperties
9511RollupJobrollupjob
9600Goalgoal
9602GoalRollupQuerygoalrollupquery
9603Metricmetric
9604RollupFieldrollupfield
9605EmailServerProfileemailserverprofile
9606Mailboxmailbox
9607MailboxStatisticsmailboxstatistics
9608MailboxTrackingFoldermailboxtrackingfolder
9613SqlEncryptionAuditsqlencryptionaudit
9650ComplexControlcomplexcontrol
9699OrgInsightsMetricorginsightsmetric
9700Entitlemententitlement
9701EntitlementChannelentitlementchannel
9702EntitlementTemplateentitlementtemplate
9703EntitlementTemplateChannelentitlementtemplatechannel
9750SLAsla
9751SLAItemslaitem
9752SLAKPIInstanceslakpiinstance
9753CustomControlcustomcontrol
9754CustomControlResourcecustomcontrolresource
9755CustomControlDefaultConfigcustomcontroldefaultconfig
9866MobileOfflineProfilemobileofflineprofile
9867MobileOfflineProfileItemmobileofflineprofileitem
9868MobileOfflineProfileItemAssociationmobileofflineprofileitemassociation
9869SyncErrorsyncerror
9910MultiEntitySearchmultientitysearch
9911MultiEntitySearchEntitiesmultientitysearchentities
9919HierarchySecurityConfigurationhierarchysecurityconfiguration
9930KnowledgeBaseRecordknowledgebaserecord
9931IncidentKnowledgeBaseRecordincidentknowledgebaserecord
9932TimeStampDateMappingtimestampdatemapping
9933RecommendationModelrecommendationmodel
9934RecommendationModelMappingrecommendationmodelmapping
9935RecommendationModelVersionrecommendationmodelversion
9936AzureServiceConnectionazureserviceconnection
9937RecommendationModelVersionHistoryrecommendationmodelversionhistory
9938RecommendationCacherecommendationcache
9940DocumentTemplatedocumenttemplate
9941PersonalDocumentTemplatepersonaldocumenttemplate
9942TopicModelConfigurationtopicmodelconfiguration
9943TopicModelExecutionHistorytopicmodelexecutionhistory
9944TopicModeltopicmodel
9945TextAnalyticsEntityMappingtextanalyticsentitymapping
9946TopicHistorytopichistory
9947KnowledgeSearchModelknowledgesearchmodel
9948Topictopic
9949AdvancedSimilarityRuleadvancedsimilarityrule
9950OfficeGraphDocumentofficegraphdocument
9951SimilarityRulesimilarityrule
9953KnowledgeArticleknowledgearticle
9954KnowledgeArticleIncidentknowledgearticleincident
9955KnowledgeArticleViewsknowledgearticleviews
9957LanguageLocalelanguagelocale
9958Feedbackfeedback
9959Categorycategory
9960KnowledgeArticlesCategoriesknowledgearticlescategories
9961DelveActionHubdelveactionhub
9962ActionCardactioncard
9968ActionCardUserStateactioncarduserstate
9973ActionCardUserSettingsactioncardusersettings
9983CardTypecardtype
9986InteractionForEmailinteractionforemail
9987ExternalPartyItemexternalpartyitem
9997EmailSignatureemailsignature

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.