{"id":14028,"date":"2019-01-11T12:06:42","date_gmt":"2019-01-11T12:06:42","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=14028"},"modified":"2021-08-25T11:14:23","modified_gmt":"2021-08-25T11:14:23","slug":"retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/","title":{"rendered":"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow"},"content":{"rendered":"<h2>Introduction:<\/h2>\n<p style=\"text-align: justify;\">Microsoft Flow has definitely leveraged the capabilities of Dynamics 365 to a next level and with the long list of connectors, it provides seamless integration across various different digital ecosystems.<\/p>\n<p style=\"text-align: justify;\">In this blog we are going to discuss a workaround to retrieve records linked to each other via many to many relationship in Dynamics 365.<\/p>\n<p style=\"text-align: justify;\">Currently, flow provides the capability to retrieve records linked to each other via One to Many relationship by using expand property but when we used the expand property to retrieve records linked to each other via Many to Many relationship, it didn\u2019t provided the expected response. As a workaround we have to pull the records via a link entity (An intermediate entity that holds record of relationship between two different entities).<\/p>\n<p style=\"text-align: justify;\">For our reference we would take the example of Marketing list and Contact records as they are linked to each other via Many to Many (N:N) relationship. We would perform some operation on list related contact records.<\/p>\n<p>Following are the steps to achieve the above described objective:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-14029\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/01\/1Retrieve-Many-to-many-related-records-in-Dynamics-365-using-Microsoft-Flow.png\" alt=\"Retrieve Many to many related records in Dynamics 365 using Microsoft Flow\" width=\"822\" height=\"757\" \/><\/p>\n<p style=\"text-align: justify;\">In the above image you can see that we have used the link entity named \u201clistmembers\u201d which holds the link between contacts and marketing list, this listmembers entity is not available by default but you can access it by selecting Enter custom value from the Entity Name dropdown and then write it manually in the Entity Name text field.<\/p>\n<p style=\"text-align: justify;\">In order to filter the relevant records we have used a filter query that makes sure that only rows that contain link between the list and contact with the provided guid are retrieved and nothing else should be retrieved so we have used _listid_value eq &lt;guid&gt;.<\/p>\n<p style=\"text-align: justify;\">Once we get the list of link entity records then we will use an apply to each to retrieve contacts from Dynamics CRM one by one and we can perform any further operation after the retrieve contact records(list record step).<\/p>\n<ul>\n<li>Listmembers \u2013 It is the name of our link entity(may differ depending on your related entities)<\/li>\n<li>_listid_value \u2013 It represents listid of Marketing list in link entity record<\/li>\n<li>Entity(field name) \u2013 It represents contactid in link entity record<\/li>\n<\/ul>\n<p><strong><em>Note: <\/em><\/strong><em>The guid of the _list_value may differ as per your requirement. Also the unique identifier for the contactid is a parameter named Entity from the retrieved list which may also differ depending on the link entity.<\/em><\/p>\n<h2>Conclusion:<\/h2>\n<p style=\"text-align: justify;\">Using above steps user can retrieve records linked to each other via many to many relationship in Dynamics 365 using Microsoft Flow.<\/p>\n<h2 style=\"text-align: left;\"><div class=\"su-heading su-heading-style-default su-heading-align-center\" id=\"\" style=\"font-size:15px;margin-bottom:5px\"><div class=\"su-heading-inner\">Free 70% of storage space in CRM with Attachment Management Apps!<\/div><\/div><\/h2>\n<p><em><strong><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/attach-2-dynamics-365-crm-upload-multiple-files-sharepoint-cloud-storage\" target=\"_blank\" rel=\"noopener noreferrer\">Attach2Dynamics<\/a> &#8211; Store and manage documents\/attachments in cloud storage of your choice &#8211; SharePoint, Dropbox or Azure Blob Storage from within Dynamics 365 CRM.<\/em><br \/>\n<em><strong><a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/dynamics-365-crm-sharepoint-security-metadata-sync\" target=\"_blank\" rel=\"noopener noreferrer\">SharePoint Security Sync<\/a><\/strong> \u2013 Robust and secure solution to integrate Dynamics 365 CRM and SharePoint Security Sync thereby ensuring secure access to confidential documents stored in SharePoint.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Microsoft Flow has definitely leveraged the capabilities of Dynamics 365 to a next level and with the long list of connectors, it provides seamless integration across various different digital ecosystems. In this blog we are going to discuss a workaround to retrieve records linked to each other via many to many relationship in Dynamics\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/\">Read More: Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft\u2026 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":14030,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,36,1985],"tags":[547,561],"class_list":["post-14028","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365","category-microsoft-flow","category-power-automate","tag-dynamics-365-crm-microsoft-flow","tag-dynamics-365-microsoft-flow"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Introduction: Microsoft Flow has definitely leveraged the capabilities of Dynamics 365 to a next level and with the long list of connectors, it provides seamless integration across various different digital ecosystems. In this blog we are going to discuss a workaround to retrieve records linked to each other via many to many relationship in Dynamics\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Inogic\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta property=\"og:description\" content=\"Introduction: Microsoft Flow has definitely leveraged the capabilities of Dynamics 365 to a next level and with the long list of connectors, it provides seamless integration across various different digital ecosystems. In this blog we are going to discuss a workaround to retrieve records linked to each other via many to many relationship in Dynamics\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/01\/1Retrieve-Many-to-many-related-records-in-Dynamics-365-using-Microsoft-Flow.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/01\/1Retrieve-Many-to-many-related-records-in-Dynamics-365-using-Microsoft-Flow.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-01-11T12:06:42+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-08-25T11:14:23+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inogicindia\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Introduction: Microsoft Flow has definitely leveraged the capabilities of Dynamics 365 to a next level and with the long list of connectors, it provides seamless integration across various different digital ecosystems. In this blog we are going to discuss a workaround to retrieve records linked to each other via many to many relationship in Dynamics\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/01\/1Retrieve-Many-to-many-related-records-in-Dynamics-365-using-Microsoft-Flow.png\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Inogic\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#blogposting\",\"name\":\"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow - Microsoft Dynamics 365 CRM Tips and Tricks\",\"headline\":\"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow\",\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/Retrieve-NtoN-related-records-in-Dynamics-365-1.png\",\"width\":150,\"height\":150,\"caption\":\"Retrieve NtoN related records in Dynamics 365\"},\"datePublished\":\"2019-01-11T12:06:42+05:30\",\"dateModified\":\"2021-08-25T11:14:23+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":5,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#webpage\"},\"articleSection\":\"Dynamics 365, Microsoft Flow, Power Automate, Dynamics 365 CRM Microsoft Flow, Dynamics 365 Microsoft Flow\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/#listItem\",\"name\":\"Dynamics 365\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/#listItem\",\"position\":2,\"name\":\"Dynamics 365\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#listItem\",\"name\":\"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#listItem\",\"position\":3,\"name\":\"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/dynamics-365\\\/#listItem\",\"name\":\"Dynamics 365\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"By Inogic\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inogicindia\",\"https:\\\/\\\/twitter.com\\\/inogic\",\"https:\\\/\\\/www.instagram.com\\\/inogicindia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCM4V7ousgLSu1hbOEv4DUuQ\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inogicindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/\",\"name\":\"Inogic\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Inogic\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/\",\"name\":\"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow - Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"Introduction: Microsoft Flow has definitely leveraged the capabilities of Dynamics 365 to a next level and with the long list of connectors, it provides seamless integration across various different digital ecosystems. In this blog we are going to discuss a workaround to retrieve records linked to each other via many to many relationship in Dynamics\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/Retrieve-NtoN-related-records-in-Dynamics-365-1.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#mainImage\",\"width\":150,\"height\":150,\"caption\":\"Retrieve NtoN related records in Dynamics 365\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2019\\\/01\\\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\\\/#mainImage\"},\"datePublished\":\"2019-01-11T12:06:42+05:30\",\"dateModified\":\"2021-08-25T11:14:23+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"alternateName\":\"Inogic\",\"description\":\"By Inogic\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Introduction: Microsoft Flow has definitely leveraged the capabilities of Dynamics 365 to a next level and with the long list of connectors, it provides seamless integration across various different digital ecosystems. In this blog we are going to discuss a workaround to retrieve records linked to each other via many to many relationship in Dynamics","canonical_url":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#blogposting","name":"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow - Microsoft Dynamics 365 CRM Tips and Tricks","headline":"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow","author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/01\/Retrieve-NtoN-related-records-in-Dynamics-365-1.png","width":150,"height":150,"caption":"Retrieve NtoN related records in Dynamics 365"},"datePublished":"2019-01-11T12:06:42+05:30","dateModified":"2021-08-25T11:14:23+05:30","inLanguage":"en-US","commentCount":5,"mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#webpage"},"articleSection":"Dynamics 365, Microsoft Flow, Power Automate, Dynamics 365 CRM Microsoft Flow, Dynamics 365 Microsoft Flow"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.inogic.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/#listItem","name":"Dynamics 365"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/#listItem","position":2,"name":"Dynamics 365","item":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#listItem","name":"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#listItem","position":3,"name":"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/#listItem","name":"Dynamics 365"}}]},{"@type":"Organization","@id":"https:\/\/www.inogic.com\/blog\/#organization","name":"Microsoft Dynamics 365 CRM Tips and Tricks","description":"By Inogic","url":"https:\/\/www.inogic.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/inogicindia","https:\/\/twitter.com\/inogic","https:\/\/www.instagram.com\/inogicindia\/","https:\/\/www.youtube.com\/channel\/UCM4V7ousgLSu1hbOEv4DUuQ","https:\/\/www.linkedin.com\/company\/inogicindia"]},{"@type":"Person","@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author","url":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/","name":"Inogic","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Inogic"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/","name":"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Introduction: Microsoft Flow has definitely leveraged the capabilities of Dynamics 365 to a next level and with the long list of connectors, it provides seamless integration across various different digital ecosystems. In this blog we are going to discuss a workaround to retrieve records linked to each other via many to many relationship in Dynamics","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/01\/Retrieve-NtoN-related-records-in-Dynamics-365-1.png","@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#mainImage","width":150,"height":150,"caption":"Retrieve NtoN related records in Dynamics 365"},"primaryImageOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/#mainImage"},"datePublished":"2019-01-11T12:06:42+05:30","dateModified":"2021-08-25T11:14:23+05:30"},{"@type":"WebSite","@id":"https:\/\/www.inogic.com\/blog\/#website","url":"https:\/\/www.inogic.com\/blog\/","name":"Microsoft Dynamics 365 CRM Tips and Tricks","alternateName":"Inogic","description":"By Inogic","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic","og:type":"article","og:title":"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow - Microsoft Dynamics 365 CRM Tips and Tricks","og:description":"Introduction: Microsoft Flow has definitely leveraged the capabilities of Dynamics 365 to a next level and with the long list of connectors, it provides seamless integration across various different digital ecosystems. In this blog we are going to discuss a workaround to retrieve records linked to each other via many to many relationship in Dynamics","og:url":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/","og:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/01\/1Retrieve-Many-to-many-related-records-in-Dynamics-365-using-Microsoft-Flow.png","og:image:secure_url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/01\/1Retrieve-Many-to-many-related-records-in-Dynamics-365-using-Microsoft-Flow.png","article:published_time":"2019-01-11T12:06:42+00:00","article:modified_time":"2021-08-25T11:14:23+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow - Microsoft Dynamics 365 CRM Tips and Tricks","twitter:description":"Introduction: Microsoft Flow has definitely leveraged the capabilities of Dynamics 365 to a next level and with the long list of connectors, it provides seamless integration across various different digital ecosystems. In this blog we are going to discuss a workaround to retrieve records linked to each other via many to many relationship in Dynamics","twitter:creator":"@inogic","twitter:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/01\/1Retrieve-Many-to-many-related-records-in-Dynamics-365-using-Microsoft-Flow.png","twitter:label1":"Written by","twitter:data1":"Inogic","twitter:label2":"Est. reading time","twitter:data2":"2 minutes"},"aioseo_meta_data":{"post_id":"14028","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-02-02 07:04:02","updated":"2025-07-04 05:30:03","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/\" title=\"Dynamics 365\">Dynamics 365<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tRetrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog"},{"label":"Dynamics 365","link":"https:\/\/www.inogic.com\/blog\/category\/dynamics-365\/"},{"label":"Retrieve Many-to-many (N:N) related records in Dynamics 365 using Microsoft Flow","link":"https:\/\/www.inogic.com\/blog\/2019\/01\/retrieve-many-to-many-nn-related-records-in-dynamics-365-using-microsoft-flow\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/14028","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=14028"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/14028\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/14030"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=14028"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=14028"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=14028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}