<turbo-stream action="update" target="wiki_card"><template>
<h1>MS Dynamics AX ODATA</h1>
<div><strong>Microsoft Dynamics 365 for Finance &amp; Operations OData (MS Dynamics AX)<br></strong><br></div><div>Support for MS Dynamics AX using OData. Both reading data and writing (insert and update) is supported.<br><br></div><div>We support both OnPremise and Azure-based installations and also Microsoft-hosted (Dynamics 365 online) deployments.<br><br></div><div><strong>The following versions of MS Dynamics AX are supported<br></strong><br></div><ul><li>Microsoft Dynamics 365 for Finance&nbsp;</li><li>Microsoft Dynamics 365 for Finance &amp; Operations (MS Dynamics AX 2018)</li><li>older version - please contact us.</li></ul><div><strong>Additional installation (only for local installations or if you control the Azure instance)<br></strong><br></div><div><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=3703&amp;child_page_id=198"><img class="blindupdown_show" id="show_wiki_3703_subpage_198_info" title="Show information" alt="Show information" src="/assets/gfx/showinfo-dfd75ef684363d1bd0e344be999155542dc15232a93cd61188484b8ca2bd07eb.gif"></a><img id="hide_wiki_3703_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_3703_subpage_198_info"></div><br><br></div><div><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;<br><br></div><div><strong>Configuration<br></strong><br></div><div>Below is a description of the fields on the Connection:<br><br></div><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 EE system - like "https://testing123.cloudax.dynamics.com/data/Customers"</li><li><strong>Company:</strong> Specify the AX company that this connection should use - like "usmf". You need to create a Connection for each Company in AX that you want to read or write data from/to. Rapidi will automatically handle to filter and specify the Company when sending data and requests to AX (so you don't need to worry about setting the dataAreaId).</li><li><strong>UserID:</strong> Here you specify the userid (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 EE system).</li><li><strong>Metadata URL:</strong> Here you can specify the URL to the metadata for your Dynamics 365 EE - like "https://testing123.cloudax.dynamics.com/data/$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><div>&nbsp;<br><br></div><div><strong>Configuration in Azure Portal<br></strong><br></div><div>To configure the below steps you need to have an Azure admin user account.<br><br></div><ol><li>Login to portal.azure.com</li><li>Go to <strong>Azure Active Directory</strong></li><li>Go to <strong>App Registrations</strong></li><li>Click <strong>+ New registration</strong><ul><li>Name = [your App Name] (Example: <strong>RapidiApp</strong>)</li><li>[Section] Supported account types &gt; Select : <strong>... Single tenant</strong></li><li><strong>Click Register</strong></li></ul></li><li>Within the same screen&nbsp;<ul><li>On the API permissions page for your app, click the Add a permission button.</li><li>Make sure the <strong>Microsoft APIs</strong> tab is selected. In the <em>Commonly used Microsoft APIs</em> section, click on the <strong>Dynamics ERP</strong> and select <strong>Delegated permissions.</strong></li><li>Ensure that the following permissions are checked:&nbsp;<ul><li>- <strong>AX.FullAccess</strong></li><li>- <strong>Odata.FullAccess</strong></li></ul></li><li>Click the <strong>Add permissions </strong>button.</li><li>You will be returned to the previous screen, and there you have to click <strong>Grant Admin Consent for ....</strong> click there.</li></ul></li><li>Within the same screen, From the Certificates &amp; secrets page, in the Client secrets section, choose <strong>New client secret:</strong><ul><li>Type a key description (of instance app secret),</li><li>Select a key duration of either In 1 year, In 2 years, or Never Expires.</li><li>When you press the Add button, the key value will be (only once) displayed, copy, and save the value in a <strong>safe location.</strong></li></ul></li><li>Keep the Application Id and the Application secret in a safe location – we will need these later.</li></ol><div><strong>Configuration in Dynamics 365 Finance &amp; Operations<br></strong><br></div><div><em>Note: To complete below steps you need to have a D365 Finance &amp; Operations user account</em></div><ol><li>Login to your D365 Finance &amp; Operations</li><li>Choose from the Navigation Pane (the Menu from left side)</li><li>Go to <strong>System Administration</strong></li><li>Click <strong>Setup</strong></li></ol><div><br></div><div><strong>Click Azure Active Directory Applications</strong></div><div><br></div><div><strong>Click New</strong></div><div><br></div><div><strong>Optionally, you can directly navigate to the Azure Active Directory Applications from the search box, e.g. search for Azure Active Directory Applications and the following screen will appear:<br></strong><br></div><div><strong>&nbsp;Click New For Client ID– paste the Application Id from Azure (the one that you created earlier) Give it a Name (ex. RapidiApp) Under User Id – choose the user to whom this app should be running (select a user that has read &amp; write permissions at least) Click Save</strong></div><div><strong>After you have successfully created the Client Id within D365 Finance &amp; Operations - please copy the current URL from the browser and save it in a safe location. This will be used for setting up the connection within MyRapidi platform (the Azure tenant id will be needed as well).<br></strong><br></div><div><strong>Configuration in Rapidi<br></strong><br></div><ol><li><strong>Login to MyRapidi. Go to the 'Connections' page and choose MS Dynamics 365 FO (AX) OData</strong></li><li><strong>The fields of the MS Dynamics 365 FO (AX) OData Connection are as follows:&nbsp;</strong><ul><li><strong>Code: auto-populated</strong></li><li><strong>Description: – type a proper description</strong></li><li><strong>Authentication Type: Oauth2 (Azure AD)</strong></li><li><strong>Server Connect: Here paste the Url provided by the customer (URL from F&amp;O environment), for example, https://demodynfo81d5be6810de336c13aos.cloudax.dynamics.com/data/Customers?cross-company=true </strong><strong><em>Note that the URL from the client could be larger but you’ll need to chop it until ‘dynamics.com’ and then add ‘/data/Customers?cross-company=true’</em></strong></li><li><strong>Company: Enter Company Name</strong></li><li><strong>User Id: This is the application Id (that was created in the first step)</strong></li><li><strong>Password: This is the client secret/application secret (created in the first step)</strong></li><li><strong>Domain: This is the tenant id of the customer</strong></li><li><strong>Resource: Enter https://demodynfo81d5be6810de336c13aos.cloudax.dynamics.com</strong></li><li><strong>Metadata URL: copy from the Server Connect and modify it a bit (remove everything after dynamics.com/data/ and add $metadata), please see below: https://demodynfo81d5be6810de336c13aos.cloudax.dynamics.com/data/$metadata</strong></li><li><strong>Use SSL: Mark it as True</strong></li></ul></li></ol><div><strong>Copy, Test, Activate Changes and Read Design<br></strong><br></div><div><strong><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/copy_connection?inline=1&amp;parent_page_ids=3703&amp;child_page_id=3758"><img class="blindupdown_show" id="show_wiki_3703_subpage_3758_info" title="Show information" alt="Show information" src="/assets/gfx/showinfo-dfd75ef684363d1bd0e344be999155542dc15232a93cd61188484b8ca2bd07eb.gif"></a><img id="hide_wiki_3703_subpage_3758_info" class="blindupdown_hide" title="Hide information" alt="Hide information" src="/assets/gfx/hideinfo-6e9943c0a2751c6dd2904a66f74a8591ed3d5fcd13413b704851ee06b53c4b51.gif"></div><div>Copy Connection</div></div></div><div class="section_detail" id="wiki_3703_subpage_3758_info"></div><br></strong><br></div><div><strong><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=3703&amp;child_page_id=364"><img class="blindupdown_show" id="show_wiki_3703_subpage_364_info" title="Show information" alt="Show information" src="/assets/gfx/showinfo-dfd75ef684363d1bd0e344be999155542dc15232a93cd61188484b8ca2bd07eb.gif"></a><img id="hide_wiki_3703_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_3703_subpage_364_info"></div><br></strong><br></div><div><strong><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/activate_changes?inline=1&amp;parent_page_ids=3703&amp;child_page_id=1816"><img class="blindupdown_show" id="show_wiki_3703_subpage_1816_info" title="Show information" alt="Show information" src="/assets/gfx/showinfo-dfd75ef684363d1bd0e344be999155542dc15232a93cd61188484b8ca2bd07eb.gif"></a><img id="hide_wiki_3703_subpage_1816_info" class="blindupdown_hide" title="Hide information" alt="Hide information" src="/assets/gfx/hideinfo-6e9943c0a2751c6dd2904a66f74a8591ed3d5fcd13413b704851ee06b53c4b51.gif"></div><div>Activate Changes</div></div></div><div class="section_detail" id="wiki_3703_subpage_1816_info"></div><br></strong><br></div><div><strong><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=3703&amp;child_page_id=363"><img class="blindupdown_show" id="show_wiki_3703_subpage_363_info" title="Show information" alt="Show information" src="/assets/gfx/showinfo-dfd75ef684363d1bd0e344be999155542dc15232a93cd61188484b8ca2bd07eb.gif"></a><img id="hide_wiki_3703_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_3703_subpage_363_info"></div><br></strong><br></div><div><strong>&nbsp;<br><br></strong><br></div><p><br></p>
</template></turbo-stream>

<turbo-stream action="replace" target="meta_description"><template><meta content='How to connect to MS Dynamics AX ODATA, Microsoft Dynamics 365 for Finance & Operations (MS Dynamics AX 2018), Microsoft Dynamics 365 Finance' id='meta_description' name='description'></template></turbo-stream>
<turbo-stream action="replace" target="meta_keywords"><template><meta content='MS Dynamics AX ODATA, Microsoft Dynamics 365 for Finance & Operations (MS Dynamics AX 2018), Microsoft Dynamics 365 Finance' id='meta_keywords' name='keywords'></template></turbo-stream>
<turbo-stream action="update" target="meta_title"><template>MS Dynamics AX ODATA, Microsoft Dynamics 365 for Finance & Operations (MS Dynamics AX 2018), Microsoft Dynamics 365 Finance - MyRapidi Wiki</template></turbo-stream>
<turbo-stream action="prepend" target="flash"><template></template></turbo-stream>
