web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Entity Relationship Diagram for D365 Environment - Marketing Specifically

(0) ShareShare
ReportReport
Posted on by 20

I'm having trouble finding any resources online that articulate how all of the Sales Hub marketing tables are related to each other in order to build a Power BI dashboard to analyze Marketing data.

The tables I'm trying to relate to each other are:

  • Campaign
  • List
  • ListMember
  • CampaignItem
  • CampaignActivityItem
  • CampaignActivity
  • ActivityPointer
  • Contacts

I feel there has to be some resource available that would show how these tables are related to each other. I.e. Campaign (campaignid) is used to relate to CampaignItem (campaignid), CampaignItem (entityid) is used to relate to CampaignActivityItem (itemid), etc.

The main goal through all of this is to associate a Contact name to a Campaign activity so that we can see all Contacts that are a part of a campaign, however I'm able to do that.

Thanks,

Gupgup

I have the same question (0)
  • Gupgup Profile Picture
    20 on at
    RE: Entity Relationship Diagram for D365 Environment - Marketing Specifically

    I forgot to include that this question pertains solely to the Marketing entities/features that are available through the Sales subscription, not the additional Marketing add-on subscription.

  • Suggested answer
    Nya Profile Picture
    29,060 on at
    RE: Entity Relationship Diagram for D365 Environment - Marketing Specifically

    Hi, Gupgup

    You can find the Entity Relationship Diagram by checking the relationships of each entity.

    1. Open your app and go to Advanced Settings > Settings > Customization > Customizations > Customize the system.

     12032.png

    1. Find a specific entity and expand it. E.g. Contact, click the 3 types of relationships

     7367.png

    1. Find the other entity in the list.

     52332.png

    1. Double click it and you can see the 1: N relationship between Contact and Campaign Response is based on the field ‘regardingobjectid’.

     255336.png

    1. Find the relationships of Campaign Response in the same way.

    There are two N:1 relationships for Campaign Response, which are with Campaign and Campaign Activity. The related fields are both ‘regardingobjectid’.

    88544.png

     

    You can find the relationship of each Entity in the above way.

    There is another way to find the default relationships of OOB entities by looking up the Web API documentation of entity.

    e.g: Campaign Activity Item

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/campaignactivityitem?view=dynamics-ce-odata-9

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 169

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 69 Super User 2025 Season 2

#3
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 67

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans