<turbo-stream action="update" target="wiki_card"><template>
<h1>Microsoft Dynamics 365 Customer Relations, OData (MS Dynamics CRM), MS Dynamics 365 Sales</h1>
<h2><strong>Overview</strong></h2><p>Support for MS Dynamics CRM using OData. Both reading data and writing (insert, update and delete) is supported.<br>We support Azure-based installations, Microsoft-hosted (Microsoft Online) deployments, and local installations.</p><p><strong>The following versions of MS Dynamics CRM are supported</strong></p><ul><li>Microsoft Dynamics 365 Customer Relations</li><li>Microsoft Dynamics 365 Sales</li></ul><p><strong>Additional installation (only for local installations or if you control the Azure instance)</strong></p><p></p><div class="section_header"><div class="line"> <div class="column_blindupdown" data-controller="wiki" data-wiki-target="blindupdown"><a data-turbo="true" data-turbo-stream="true" href="/wiki/installing_the_rapidiconnector?inline=1&amp;parent_page_ids=3730&amp;child_page_id=198"><img class="blindupdown_show" id="show_wiki_3730_subpage_198_info" title="Show information" alt="Show information" src="/assets/gfx/showinfo-dfd75ef684363d1bd0e344be999155542dc15232a93cd61188484b8ca2bd07eb.gif"></a><img id="hide_wiki_3730_subpage_198_info" class="blindupdown_hide" title="Hide information" alt="Hide information" src="/assets/gfx/hideinfo-6e9943c0a2751c6dd2904a66f74a8591ed3d5fcd13413b704851ee06b53c4b51.gif"></div><div>Installing the RapidiConnector</div></div></div><div class="section_detail" id="wiki_3730_subpage_198_info"></div><p></p><p><strong>Please Note:</strong> The OData Connection is by default created with an attached RapidiConnector. If you don't need the RapidiConnector - if you want Rapidi to connect directly to your OData system - you need to delete the RapidiConnector from the Connection (click the trashcan icon (Delete RapidiConnector) all the way to the right on the RapidiConnector header).&nbsp;</p><h3><strong>Configuration</strong></h3><p>Below is a description of the fields on the Connection:</p><ul><li><strong>Code:</strong> The unique code for this connection (cannot be changed)</li><li><strong>Description: </strong>Enter a text describing the Connection.</li><li><strong>Authentication Type:</strong> Choose howto authenticate with your MS Dynamics 365 system. Normally, you would choose "OAuth2 (Azure AD)" here and specify the connection parameters and credentials as described below.</li><li><strong>Server Connect:</strong> Specify the full path to your Dynamics 365 system - like "https://roimg027.cloudapp.net:7048/NAV/ODataV4/Company('CRONUS%20International%20Ltd.')/Customer"<br>for D365 BC, it would be like: https://api.businesscentral.dynamics.com/v1.0/daf1fa9d-33cf-4c18-99xx-9b04xxxx0af2/api/beta/companies (please use your own tenant id)</li><li><strong>Company:</strong> Specify the NAV company that this connection should use - like "CRONUS International Ltd." (Please note that this field is case sensitive). You need to create a Connection for each Company in NAV that you want to read or write data from/to.<br>For D365 BC you need to use the id of the company - not the name. You can get the id by leaving this field blank and use the TEST button. This will give you a list of all Company id's in your D365 BC.</li><li><strong>UserID:</strong> Here, you specify the user ID (credentials) to access your Dynamics 365. When using the OAuth2 authentication, this is the ApplicationID of the App created in the Azure AD.</li><li><strong>Password:</strong> Here, you specify the Password corresponding to the above UserID. For OAuth2, this is the Key found on the App created in the Azure AD.</li><li><strong>Domain:</strong> The Domain for Authentication. For OAuth2, this is the Tenant ID of your Azure AD.</li><li><strong>Resource:</strong> This field is only used for OAuth2 authentication. Specify here the resource (the Application ID of the App in your Azure AD that you want to have access to - e.g., your Dynamics 365 system).</li><li><strong>Metadata URL:</strong> Here you can specify the URL to the metadata for your Dynamics 365 - like "https://ROIMG008.cloudapp.net:7048/Rapidi/ODataV4/$metadata"<br>or for D365 BC: https://api.businesscentral.dynamics.com/v1.0/daf1fa9d-33cf-4c18-99xx-9b04xxxx0af2/api/beta/$metadata</li><li><strong>Use SSL:</strong> Check this field if the connection should use SSL (this setting dictates if SSL is used independently of specifying http or https above).</li></ul><h3><strong>Test and Read Design</strong></h3><p></p><div class="section_header"><div class="line"> <div class="column_blindupdown" data-controller="wiki" data-wiki-target="blindupdown"><a data-turbo="true" data-turbo-stream="true" href="/wiki/connection_test?inline=1&amp;parent_page_ids=3730&amp;child_page_id=364"><img class="blindupdown_show" id="show_wiki_3730_subpage_364_info" title="Show information" alt="Show information" src="/assets/gfx/showinfo-dfd75ef684363d1bd0e344be999155542dc15232a93cd61188484b8ca2bd07eb.gif"></a><img id="hide_wiki_3730_subpage_364_info" class="blindupdown_hide" title="Hide information" alt="Hide information" src="/assets/gfx/hideinfo-6e9943c0a2751c6dd2904a66f74a8591ed3d5fcd13413b704851ee06b53c4b51.gif"></div><div>Connection Test</div></div></div><div class="section_detail" id="wiki_3730_subpage_364_info"></div><br><div class="section_header"><div class="line"> <div class="column_blindupdown" data-controller="wiki" data-wiki-target="blindupdown"><a data-turbo="true" data-turbo-stream="true" href="/wiki/read_design?inline=1&amp;parent_page_ids=3730&amp;child_page_id=363"><img class="blindupdown_show" id="show_wiki_3730_subpage_363_info" title="Show information" alt="Show information" src="/assets/gfx/showinfo-dfd75ef684363d1bd0e344be999155542dc15232a93cd61188484b8ca2bd07eb.gif"></a><img id="hide_wiki_3730_subpage_363_info" class="blindupdown_hide" title="Hide information" alt="Hide information" src="/assets/gfx/hideinfo-6e9943c0a2751c6dd2904a66f74a8591ed3d5fcd13413b704851ee06b53c4b51.gif"></div><div>Read Design</div></div></div><div class="section_detail" id="wiki_3730_subpage_363_info"></div><p></p>
</template></turbo-stream>

<turbo-stream action="replace" target="meta_description"><template><meta content='How to connect to MS Dynamics CRM ODATA, Microsoft Dynamics 365 Sales' id='meta_description' name='description'></template></turbo-stream>
<turbo-stream action="replace" target="meta_keywords"><template><meta content='MS Dynamics CRM ODATA, Microsoft Dynamics 365 Sales, Connections, connectors, endpoints' id='meta_keywords' name='keywords'></template></turbo-stream>
<turbo-stream action="update" target="meta_title"><template>MS Dynamics CRM ODATA - MyRapidi Wiki</template></turbo-stream>
<turbo-stream action="prepend" target="flash"><template></template></turbo-stream>
