<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Zia Ur Rahman on Medium]]></title>
        <description><![CDATA[Stories by Zia Ur Rahman on Medium]]></description>
        <link>https://medium.com/@zia_ur_rahman_dynamics_geek?source=rss-b1644706d2a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Tlz2mwNPdPV0P13C</url>
            <title>Stories by Zia Ur Rahman on Medium</title>
            <link>https://medium.com/@zia_ur_rahman_dynamics_geek?source=rss-b1644706d2a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 07:13:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zia_ur_rahman_dynamics_geek/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Stop Naming Products Variants Manually — Use Nomenclature in D365 F&O]]></title>
            <link>https://medium.com/@zia_ur_rahman_dynamics_geek/stop-naming-products-variants-manually-use-nomenclature-in-d365-f-o-ce0a828b3dbc?source=rss-b1644706d2a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/ce0a828b3dbc</guid>
            <category><![CDATA[d365-fo]]></category>
            <category><![CDATA[d365]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[d365financeandoperations]]></category>
            <category><![CDATA[microsoft-dynamics-365]]></category>
            <dc:creator><![CDATA[Zia Ur Rahman]]></dc:creator>
            <pubDate>Fri, 05 Jun 2026 15:50:15 GMT</pubDate>
            <atom:updated>2026-06-05T15:53:04.451Z</atom:updated>
            <content:encoded><![CDATA[<p>Manual assignment of names and Ids to product variants can cause inconsistencies in naming and involve human error.D365 Nomenclature enables you to can fix that — systematically</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v-YGnntslDPcVT5ZREENpg.png" /></figure><p><strong>Introduction</strong></p><p>Product variant nomenclature is out of the box functionality to assigning variants Ids and names based on Product master number, name, Product attributes, dimensions, number sequences and hardcoded values etc.</p><p><strong>Setup</strong></p><ol><li><strong>Product Nomenclature</strong></li></ol><p>Go to Product Information Management → Setup → Product Nomencalture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*ORlI5CpQD62b9CPpEJpSTg.png" /></figure><p>Create new and give it a name</p><p>click add and add segments according to your naming requirement</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fb0Mdvx3ZcCwn48BSgJ1cw.png" /></figure><p><strong>2.Available segment options</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/166/1*L3rfjQtvPkCl-bNQFzxwfA.png" /></figure><p>After successfully setting up nomenclature there are two ways to use this</p><p>Add the nomenclature to product</p><p>Add the nomenclature to product dimension group</p><blockquote>product variant name nomenclature cannot be assigned to product dimension group</blockquote><p>Assign nomenclature to product dimension group</p><p>Enable use number nomenclature and select a nomenclature</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sOxLVjiqIo-EO5JB1p-WZw.png" /></figure><p><strong>3. Lets test our configurations</strong></p><p>create a new product master and set appropriate product dimensions</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IjDzNxhu1Q_CdS_qnKcZug.png" /></figure><p>Sizes</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*osN2Aln3b0vYYSEEl8x2FQ.png" /></figure><p>Colors</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*on4aYAP0OuYRvxJ06zw0uQ.png" /></figure><p>Now Create product variants</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kKkNJtkhq1Q48L--B3BLUQ.png" /></figure><p><strong>Reference</strong></p><blockquote><a href="https://learn.microsoft.com/en-us/dynamics365/supply-chain/pim/product-variant-identification-nomenclature">https://learn.microsoft.com/en-us/dynamics365/supply-chain/pim/product-variant-identification-nomenclature</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ce0a828b3dbc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[List Panels In D365]]></title>
            <link>https://medium.com/@zia_ur_rahman_dynamics_geek/list-panels-in-d365-0833b075c83f?source=rss-b1644706d2a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/0833b075c83f</guid>
            <dc:creator><![CDATA[Zia Ur Rahman]]></dc:creator>
            <pubDate>Thu, 09 Apr 2026 15:58:43 GMT</pubDate>
            <atom:updated>2026-04-09T15:58:43.300Z</atom:updated>
            <content:encoded><![CDATA[<p>I this article we will learn abour new and very useful UI component In D365 List Panel</p><h3><strong>Usages</strong></h3><p>Check Lists(Employee Vendor,Customer Onboarding/OffBaording)</p><p>Configuration Steps (Retail Channels,Devices ,Call Centers extc.)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0833b075c83f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[List panel Pattern in D365 Finance and Operations]]></title>
            <link>https://medium.com/@zia_ur_rahman_dynamics_geek/list-panel-pattern-in-d365-finance-and-operations-bf84418a9616?source=rss-b1644706d2a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf84418a9616</guid>
            <category><![CDATA[microsoft-dynamics-ax]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[d365]]></category>
            <dc:creator><![CDATA[Zia Ur Rahman]]></dc:creator>
            <pubDate>Thu, 09 Apr 2026 15:26:01 GMT</pubDate>
            <atom:updated>2026-04-09T15:26:01.490Z</atom:updated>
            <content:encoded><![CDATA[<p>while we deal with with multiple real world scenarios in designing solutions in D365 FinOps .we face difficulties to find relevant UI patterns and controls to fulfill business requirement</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8pvxniixqdjHLoiAmcUQQg.png" /></figure><p><strong>Overview</strong></p><p>One of those is a list panel pattern. It mostly covers requirement that involve some checklist implementation. This get more useful when requirement is to select some specified entries from set of available value set. e.g.</p><p><strong>Usage</strong></p><ol><li>Financial dimension set</li></ol><p>2. Parameter sets or parameter values for reports</p><p>3. Legal entity assignment</p><p>4. Employee ,Vendor ,Customer (onboarding , offboarding) checklist</p><p>5. Candidate hiring checklist etc.</p><p><strong>Key Elements</strong></p><p>In Order to implement List Panel UI component we need these elements</p><ol><li>Setup table containing all available values sets</li><li>Table that contains selected values from setup table</li><li>A class that extends SyslistPanel class</li><li>A form to display List Panel</li></ol><p><strong>Get Started</strong></p><p>In this tutorial i will be following the policy management for an employee</p><p>first we will create setup table for applicable policies</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/1*A475CvHjxZe3LxBQROIECA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*npq9M9WSzNNQiiaG2ao7TQ.png" /></figure><p>Then there will be table which holds policies assigned to an employee</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*RHLTDXsD2hdRULSkWEYR3A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*QvAcfFq1jBJqu1iQLWfbDA.png" /></figure><p>Table Code</p><pre>public class XT_EmployeeEnrolledPolicy extends common<br>{<br><br>    /// &lt;summary&gt;<br>    ///<br>    /// &lt;/summary&gt;<br>    public static void addData(RefRecId _policySetup,HcmWorkerRecId _worker)<br>    {<br>        XT_EmployeeEnrolledPolicy policyEnroll;<br>        policyEnroll.PolicySetup = _policySetup;<br>        policyEnroll.HcmWorkerRecId = _worker;<br>        policyEnroll.insert();<br>    }<br><br>    /// &lt;summary&gt;<br>    ///<br>    /// &lt;/summary&gt;<br>    public static void removeData(RefRecId _policySetup,HcmWorkerRecId _worker)<br>    {<br>        XT_EmployeeEnrolledPolicy policyEnroll;<br>        select firstonly policyEnroll<br>            where policyEnroll.HcmWorkerRecId == _worker &amp;&amp; <br>            policyEnroll.PolicySetup == _policySetup;<br>        if(policyEnroll)<br>        {<br>            ttsbegin;<br>            policyEnroll.selectForUpdate(true);<br>            policyEnroll.delete();<br>            ttscommit;<br>        }<br>        <br>    }<br><br>}</pre><p>Now create a class that extends SysListPanel</p><pre>internal final class XT_EmployeePolicyEnrollListPanel extends  SysListPanel<br>{<br>    <br>    HcmWorkerRecId       hcmWorkerRecId;<br>    <br>    public static SysListPanel newForm(FormRun  _formRun,<br>                                       int      _parentId,<br>                                       boolean  _hasAddAllButton = false,<br>                                       boolean  _hasRemoveAllButon = false)<br>    {<br>        XT_EmployeePolicyEnrollListPanel sysListPanel = new XT_EmployeePolicyEnrollListPanel();<br><br>        sysListPanel.parmFormRun(_formRun);<br>        sysListPanel.parmParentId(_parentId);<br>        sysListPanel.parmHasAddAllButton(_hasAddAllButton);<br>        sysListPanel.parmHasRemoveAllButton(_hasRemoveAllButon);<br>        sysListPanel.parmCaptionSelected(&quot;Enrolled Policies&quot;);<br>        sysListPanel.parmCaptionAvailable(&quot;Available Policies&quot;);<br>        sysListPanel.build();<br>        return sysListPanel;<br>    }<br><br>    public void parmHcmWorker(HcmWorkerRecId _hcmWorkerRecId)<br>    {<br>        hcmWorkerRecId = _hcmWorkerRecId;<br>    }<br><br>    <br>    public container getData()<br>    {<br>        container   selectedPolicies;<br>        container   availablePolicies;<br>        //Table contains polciy assigned to an employee<br>        XT_EmployeeEnrolledPolicy                    policiesEnrolled, policiesFree;<br>        //Policy Setup table<br>        XT_PolicySetup                               policySelected, policyAvailable;<br><br>        // Find all polcicies assigned to an employee<br>        while select   policySelected<br>                 exists join policiesEnrolled<br>                    where policiesEnrolled.PolicySetup == policySelected.RecId &amp;&amp;<br>                    policiesEnrolled.HcmWorkerRecId == hcmWorkerRecId<br>        {<br>            selectedPolicies += [[policySelected.RecId, policySelected.Name,policySelected.Description]];<br>        }<br>        <br>        // Find allpolcicies available to an employee<br>        while select  policyAvailable<br>                 notexists join policiesFree<br>                    where policiesFree.PolicySetup == policyAvailable.RecId &amp;&amp;<br>                    policiesFree.HcmWorkerRecId == hcmWorkerRecId<br>        {<br>            availablePolicies += [[policyAvailable.RecId, policyAvailable.Name,policyAvailable.Description]];<br>        }<br><br>        return [availablePolicies, selectedPolicies];<br>    }<br><br>    public void addData(container _data)<br>    {<br>        for (int i = 1; i &lt;= conlen(_data); i++)<br>        {<br>            XT_EmployeeEnrolledPolicy::addData(conpeek(_data, i),hcmWorkerRecId);<br>        }<br>    }<br><br>   <br>    public void removeData(container _data)<br>    {<br>        for (int i = 1; i &lt;= conlen(_data); i++)<br>        {<br>            XT_EmployeeEnrolledPolicy::removeData(conpeek(_data, i),hcmWorkerRecId);<br>        }<br>    }<br><br>}</pre><p>The last thing we need is a form to display list panel</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t43-igmN0GEeQzDjH85H2g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q7B_YllsQUXEryBoW256nA.png" /></figure><p><strong>Form Code</strong></p><pre>[Form]<br>public class XT_PolicyEnrollment extends FormRun<br>{<br>    XT_EmployeePolicyEnrollListPanel employeePlocyAssignmentPanel;<br>    public void init()<br>    {<br>        employeePlocyAssignmentPanel = XT_EmployeePolicyEnrollListPanel::newForm(<br>            this,<br>            element.controlId(formcontrolstr(XT_PolicyEnrollment, ListPanelPolicy)),<br>            true,<br>            true);<br><br>        super();<br><br>        <br><br>        employeePlocyAssignmentPanel.init();<br>        employeePlocyAssignmentPanel.fill();<br>        <br>    }<br><br>    [DataSource]<br>    class HcmWorker<br>    {<br>        /// &lt;summary&gt;<br>        ///<br>        /// &lt;/summary&gt;<br>        /// &lt;returns&gt;&lt;/returns&gt;<br>        public int active()<br>        {<br>            int ret;<br>    <br>            ret = super();<br>            employeePlocyAssignmentPanel.parmHcmWorker(HcmWorker.RecId);<br>            employeePlocyAssignmentPanel.fill();<br>    <br>            return ret;<br>        }<br><br>    }<br><br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf84418a9616" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Debug UAT Environment from Dev Box D365 F&O]]></title>
            <link>https://medium.com/@zia_ur_rahman_dynamics_geek/debug-uat-environment-from-dev-environment-d365-f-o-a6018e4f162e?source=rss-b1644706d2a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6018e4f162e</guid>
            <category><![CDATA[d365-fo]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <dc:creator><![CDATA[Zia Ur Rahman]]></dc:creator>
            <pubDate>Tue, 07 Oct 2025 06:42:50 GMT</pubDate>
            <atom:updated>2025-10-14T07:31:49.547Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, we will learn how to debug issues in your UAT environment from a Dev environment, which can save time and resources.</p><p>We all face scenarios in our development routine where we cannot recreate the issue in the Dev environment for debugging and resolving the issue. For that, we have to follow a time and resource-consuming process of database restoration on the Dev environment.</p><p>To avoid these kinds of hurdles, we can debug our UAT Environment from our Dev Environment by providing database access for UAT.</p><h4>Step 1 — Enable Access</h4><p>To connect to the UAT database, we need to enable access to the database from LCS as follows.</p><p>Go to the LCS → UAT Environment in your implementation project → Maintain → Enable Access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B5EQY1YDzTBAQyfWaN7ZyA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CJJ3J68EKTnxTDOBaF6BIQ.png" /><figcaption>enable access for your UAT Env</figcaption></figure><h4>Step 2 — IP whitelisting</h4><p>Provide IPs that you want to be whitelisted for connection</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*dRZ8Omo4_aof9HHYFHP9kA.png" /><figcaption>provide IP List for whitelisting</figcaption></figure><h4>Step 3— Request database access</h4><p>Then request access from database accounts (Prefer Write to AX as your operation can involve write to the DB process)</p><p>Note the credentials provided; these credentials are only valid for 8 hours.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZBdARU5XNKKyaZVwAPM5nw.png" /></figure><p>After that, it will look like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cMy_Mze4ulPi0DNWuFXI4A.png" /></figure><h4>Step 4— TEST Credentials</h4><p>Test the credentials from SQL Server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*GI9aFzdeB66s3Da7qpaCbw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*ERWXBPEN4yO3fXJ4EiafcA.png" /></figure><p>After testing,</p><p>Add a new user to the database</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qD8MwTa7n-9c6NatVGihcw.png" /></figure><pre>CREATE USER [axdevdebugadmin] WITH PASSWORD=N&#39;Pass@word1&#39;, DEFAULT_SCHEMA=[dbo]<br>GO<br>EXEC sp_addrolemember N&#39;db_owner&#39;, &#39;axdevdebugadmin&#39;<br>GO</pre><h4>Step 5— Connect Dev with UAT</h4><p>Now we have to add these credentials to the Dev Environment</p><p>Better to stop these services</p><p>i ) Batch management service</p><p>ii ) DIXF service</p><p>iii ) Stop iis server</p><p>iv ) World Wide Web publishing service</p><p>Then go to C:\AOSService\webroot</p><p>Copy the following file</p><p>web.config and save to another location</p><p>Run the following command to decrypt the file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*2sxD7PWxsaogP2zCQNzLVQ.png" /></figure><pre>C:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Framework.ConfigEncryptor.exe -decrypt C:\AOSService\webroot\web.config</pre><p>Now change the values for the following tags</p><pre>&lt;add key=&quot;DataAccess.Database&quot; value=&quot;databbase name from LCS&quot; /&gt;<br>&lt;add key=&quot;DataAccess.DbServer&quot; value=&quot;server name from LCS&quot; /&gt; <br>&lt;add key=&quot;DataAccess.SqlUser&quot; value=&quot;Username from LCS&quot; /&gt;<br>&lt;add key=&quot;DataAccess.SqlPwd&quot; value=&quot;password from LCS&quot; /&gt; <br>&lt;add key=&quot;DataAccess.AxAdminSqlPwd&quot; value=&quot;pass@word1&quot; /&gt; <br>&lt;add key=&quot;DataAccess.AxAdminSqlUser&quot; value=&quot;axdbdebugadmin&quot; /&gt;</pre><p>Now run the file to encrypt the file again</p><pre>C:\AOSService\webroot\bin\Microsoft.Dynamics.AX.Framework.ConfigEncryptor.exe -encrypt C:\AOSService\webroot\web.config</pre><p>Re-run the stopped services</p><h4>Step 6— Restore changes</h4><p>perform debugging, and after you’re done, revert all the changes in the web.config file to connect back to the local server</p><p>If you like the article, do follow for more information like this</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6018e4f162e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[D365 FO Build Pipeline for 10.0.40]]></title>
            <link>https://medium.com/@zia_ur_rahman_dynamics_geek/d365-fo-build-pipeline-for-10-0-40-9ff5d026fe73?source=rss-b1644706d2a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ff5d026fe73</guid>
            <category><![CDATA[pipeline]]></category>
            <category><![CDATA[build-pipeline]]></category>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[d365-fo]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <dc:creator><![CDATA[Zia Ur Rahman]]></dc:creator>
            <pubDate>Tue, 28 Jan 2025 15:41:50 GMT</pubDate>
            <atom:updated>2025-01-28T17:14:15.930Z</atom:updated>
            <content:encoded><![CDATA[<p>In This article, we are going to make our Azure DevOps Build Pipeline for D365 fiance and Operations compatible with the latest version</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wXTpUClQ2OVs5710ntc-dQ.jpeg" /></figure><p>Before we Start</p><p>If you don’t know how to setup Build Pipeline you can learn it here</p><p><a href="http://medium.com/@zia_ur_rahman_dynamics_geek/implementci-cd-in-d365-with-azure-devops-build-pipeline-1a718dac3f03"><strong>Azure DevOps D365 Finance and Operations Build Pipeline</strong></a></p><p><strong>Artifacts Required</strong></p><p>In the Latest releases, the Application package has been split into two parts due to the size Limit (maximum push Limit is 500 MB)</p><p>The two splits are as follows</p><p><strong>Microsoft.Dynamics.AX.Application1.DevALM.BuildXpp</strong></p><p><strong>Microsoft.Dynamics.AX.Application2.DevALM.BuildXpp</strong></p><p>you can download these artifacts from LCS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cJc-pbQVu1rxDLh6Jd4ocA.png" /></figure><p>Please make sure the Platform version before downloading</p><p>After pushing to the Artifacts feed this will look like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AY0ya3z7Pz0P7AidWkuZ_A.png" /></figure><p>After that, you have to make some changes in your Pipeline script</p><h4><strong>Step 1:</strong> Specify Variables</h4><p>Firstly you have to define a variable for each split Application Package</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OVgx26A2dQtO5K1_UgDjBQ.png" /></figure><p>I named them as App1Package and App2Package</p><p><em>App1Package = Microsoft.Dynamics.AX.Application1.DevALM.BuildXpp</em></p><p><em>App2Package = Microsoft.Dynamics.AX.Application2.DevALM.BuildXpp</em></p><h4><strong>Step 2: Build Solution Step</strong></h4><p>Include these two variables in your Build Arguments as follows</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CamRMRI0Y6J3PIHdEGbPEQ.png" /></figure><p><em>$(NuGetsPath)\$(App1Package)\ref\net40;</em></p><p><em>$(NuGetsPath)\$(App2Package)\ref\net40;</em></p><p>That&#39;s it</p><p>Follow me for informative Articles</p><p><a href="https://www.linkedin.com/in/zia-rahman-d365-geek/"><strong>https://www.linkedin.com/in/zia-rahman-d365-geek/</strong></a></p><p>The release pipeline requires no changing</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ff5d026fe73" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Developing and using Custom Services in D365]]></title>
            <link>https://medium.com/@zia_ur_rahman_dynamics_geek/developing-and-using-custom-services-in-d365-a1958d35ed11?source=rss-b1644706d2a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/a1958d35ed11</guid>
            <category><![CDATA[custom-service]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[d365financeandoperations]]></category>
            <category><![CDATA[d365-fo]]></category>
            <dc:creator><![CDATA[Zia Ur Rahman]]></dc:creator>
            <pubDate>Sat, 17 Feb 2024 06:30:46 GMT</pubDate>
            <atom:updated>2025-04-10T16:00:42.754Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, we are going to learn how to build a custom service in d365 and how to use It</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*yUQaLDiAkRTHp7ku.jpeg" /></figure><h3>Introduction</h3><p>So what is a custom service?</p><p>It is a feature provided by D365 F&amp;O to expose its functionality outside of the environment to facilitate users using it on other platforms (mobile apps and web apps) to meet their required business process requirements</p><h3>How it works</h3><p>A custom service deployed in d365 acts the same as an API does</p><p>In D365, a custom service is deployed on the following two endpoints at the same</p><p><strong>JSON endpoint</strong></p><p><strong>SOAP endpoint</strong></p><h3>Let’s begin</h3><p><strong>STEP 1: Request Contract</strong></p><p>Firstly, we need a contract class for request deserialization</p><p>A sample contract class is here</p><pre>[DataContract]<br>public class PurchaseOrderRequest<br>{<br>    PurchId purchId;<br>    DataAreaId dataAreaId;<br><br>    [DataMember]<br>    public PurchId parmPurchId(PurchId _purchId)<br>    {<br>        purchId = _purchId;<br>        return purchId;<br>    }<br><br>    [DataMember]<br>    public DataAreaId parmDataAreaId(DataAreaId _dataAreaId)<br>    {<br>        dataAreaId = _dataAreaId;<br>        return dataAreaId;<br>    }<br>}</pre><blockquote>If your request has fewer parameters then you can continue by skipping the contract request class</blockquote><p><strong>STEP 1: Response Contract</strong></p><p>Then, we need the response contract class for response deserialization</p><p>Sample response contract class is here</p><pre>[DataContract]<br>public class PurchaseOrderResponse<br>{<br>    VendAccount vendAccount;<br>    VendName vendName;<br>    DlvDate   dlvDate;<br>    PurchStatus status;<br>    PurchaseType purchaseType;<br>  <br>    [DataMember]<br>    public VendAccount parmVendAccount(VendAccount _vendAccount)<br>    {<br>        vendAccount = _vendAccount;<br>        return vendAccount;<br>    }<br>    [DataMember]<br>    public VendName parmVendName(VendName _vendName)<br>    {<br>        vendName = _vendName;<br>        return vendName;<br>    }<br>    [DataMember]<br>    public DlvDate parmDlvDate(DlvDate   _dlvDate)<br>    {<br>        dlvDate = _dlvDate;<br>        return dlvDate;<br>    }<br>    [DataMember]<br>    public PurchStatus parmStatus(PurchStatus _status)<br>    {<br>        status = _status;<br>        return status;<br>    }<br>    [DataMember]<br>    public PurchaseType parmPurchaseType(PurchaseType _purchaseType)<br>    {<br>        purchaseType = _purchaseType;<br>        return purchaseType;<br>    }<br>   <br>}</pre><blockquote>If your request has fewer parameters then you can continue by skipping the contract request class</blockquote><p><strong>STEP 1: API Class (The Service Class)</strong></p><p>Lastly, we have to develop a service class to participate in API operations</p><p>The sample service class is here</p><pre><br>public class PurchaseOrderInfo<br>{<br>    <br> <br>    public PurchaseOrderResponse getPurchaseOrderData(PurchaseOrderRequest purchaseOrder)<br>    {<br>        PurchaseOrderResponse response;<br>        PurchTable purchTable;<br>        ;<br>        changecompany(purchaseOrder.parmDataAreaId())<br>        {<br>           purchTable = PurchTable::find(purchaseOrder.parmPurchId());<br>           response = new PurchaseOrderResponse();<br>           response.parmVendAccount(purchTable.OrderAccount);<br>           response.parmVendName(purchTable.PurchName);<br>           response.parmDlvDate(purchTable.DeliveryDate);<br>           response.parmStatus(purchTable.PurchStatus);<br>           response.parmPurchaseType(purchTable.PurchaseType);<br>        }<br>        return response;<br>     }<br>    <br>   <br>}</pre><p><strong>STEP 1: Service</strong></p><p>Create a service element, assign your service class to it, and select the name</p><p>add new service operation and select a related method from the service class as below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JQkKrcMNE2kPoY1ROuIITQ.png" /></figure><p><strong>STEP 1: Service Group</strong></p><p>Create a service group and add your custom service to the service group</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wv2ZHLYyIhtsqubOAMW2_g.png" /></figure><p>Build and sync your project</p><p>You can view your service at both JSON and SOAP endpoints</p><p>for JSON endpoint</p><p><a href="http://getpurchaseorderdata/">https://usnconeboxax1aos.cloud.onebox.dynamics.com/api/services/PurchaseOrders/PurchaseOrderInfo</a></p><p>for SOAP endpoint</p><p><a href="https://usnconeboxax1aos.cloud.onebox.dynamics.com/services/PurchaseOrders">https://usnconeboxax1aos.cloud.onebox.dynamics.com/services/PurchaseOrders</a></p><p><strong>STEP 1: Testing</strong></p><p>Let&#39;s test our JSON endpoint</p><p><strong>Authentication</strong></p><p>To consume our custom service, we need to register an app on the Azure portal</p><p>If you don’t know how to do that,t go through my blog here</p><p><a href="https://medium.com/@zia_ur_rahman_dynamics_geek/registring-application-on-azure-for-integration-d382bbc304d9">Registring Application on Azure for Integration</a></p><p>After that, send a request with the POST request method via Postman as below</p><p>https://login.microsoftonline.com/your_tenant_id/oauth2/token</p><p>In the request, the body selects the form-data pattern and specifies the below parameters</p><ol><li><strong>grant_type &gt;&gt;</strong> client_credentials</li><li><strong>client_id </strong>&gt;&gt; your_azure_app_id</li><li><strong>client_secret &gt;&gt; </strong>your_azure- app-secret</li><li><strong>resource</strong> &gt;&gt; your_d365_environment_url (https://usnconeboxax1aos.cloud.onebox.dynamics.com)</li></ol><p>Send the request It will give the access token in response Copy it or save it to a variable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n-t4vpTfh2b2qSd2mdsHqQ.png" /></figure><p><strong>Consume the API</strong></p><p>Let’s continue with testing</p><p>Send a request with the POST Method following the below pattern</p><p><a href="http://getpurchaseorderdata/">https://usnconeboxax1aos.cloud.onebox.dynamics.com/api/services/your_service_group/PurchaseOrderInfo/getPurchaseOrderData</a></p><p>In the Authentication tab, select type Bearer and provide the access token</p><p>In the request body select JSON format and provide the data according to your parameter contract class (if any) like below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3QAH7tCwAf-CsbY3bkTxNw.png" /></figure><p>Note down the response</p><p><strong><em>in the next article, we will learn how to consume our custom service on multiple platforms (web, mobile, desktop) stay tuned</em></strong></p><p>follow for more</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a1958d35ed11" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apply Service updates to your D365 Dev VM via Command Line (cmd)]]></title>
            <link>https://medium.com/@zia_ur_rahman_dynamics_geek/apply-service-updates-to-your-d365-dev-vm-via-command-line-cmd-b71991ae39c3?source=rss-b1644706d2a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/b71991ae39c3</guid>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[lcs]]></category>
            <category><![CDATA[d365]]></category>
            <category><![CDATA[updates]]></category>
            <dc:creator><![CDATA[Zia Ur Rahman]]></dc:creator>
            <pubDate>Mon, 29 Jan 2024 11:50:27 GMT</pubDate>
            <atom:updated>2025-05-05T12:31:23.389Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s article, we are going to learn how to apply Service updates in our D365 Development environment with the help of the command line tool</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RVw9TVy0pfygzKj_Up1UFg.png" /></figure><p>So let’s begin</p><h3><strong>Step 1 (Downloading updates from LCS)</strong></h3><p>Log in to LC,S then go to Shared Asset Library &gt;&gt; Software deployable package,e download the required version (preview update or service update)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NmkLQZgpD2OlICE19TPZLg.png" /><figcaption>download resources</figcaption></figure><h3>Step 2 (Extract downloaded update)</h3><p>Navigate to your downloaded folder, view properties for the downloaded files, check the unblock checkbo,x and then extract the .zip file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*WA8FeV_NX_yV4bZ7tepe1w.png" /><figcaption>unblock on your pc</figcaption></figure><h3>Step 3 (Installation setup)</h3><p>Navigate to the extracted folder and start CMD with admin privileges in that specific folder</p><h4><strong>i) List of available services</strong></h4><p>To view a list of available updates in the service update package, execute the following command</p><pre>AXUpdateInstaller.exe list</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nJdTMh_OiVU6vxgGq60Y2g.png" /><figcaption>view list</figcaption></figure><h4>ii) Generate a runbook</h4><p>To generate a runbook, execute the following command</p><pre>AXUpdateInstaller.exe generate -runbookid=&quot;MyRunBook&quot; -topologyfile=&quot;DefaultTopologyData.xml&quot; -servicemodelfile=&quot;DefaultServiceModelData.xml&quot; -runbookfile=&quot;MyRunbook.xml&quot;</pre><p>Make sure to install sufficient service updates to avoid later issues for</p><p>Open the <strong>DefaultTopologyData.xml</strong> file and include your desired services</p><p>Make sure to include at least one of them.</p><pre>  &lt;string&gt;AOSService&lt;/string&gt;<br>  &lt;string&gt;DevToolsService&lt;/string&gt;<br>  &lt;string&gt;DIXFService&lt;/string&gt;<br>  &lt;string&gt;ALMService&lt;/string&gt;</pre><h4>iii) import runbook</h4><p>Import your runbook with the help of this command</p><pre>AXUpdateInstaller.exe import -runbookfile=&quot;MyRunbook.xml&quot;</pre><h4>iv) Re-run Step</h4><p>If the import fails at any step, just re-run the step with the following command</p><pre>AXUpdateInstaller.exe execute -runbookid=&quot;MyRunbook&quot; -rerunstep=19</pre><h4>v) verify import</h4><p>To verify that the runbook has been imported successfully, run the command again</p><pre>AXUpdateInstaller.exe list</pre><h4>vi) Start Update</h4><p>It is time to start applying updates before executing this step</p><p><strong>Close all Visual Studio instances and D365 in-progress operations</strong></p><p>Then execute the following command</p><pre>AXUpdateInstaller.exe execute -runbookid=&quot;MyRunBook&quot;</pre><h4>vii) Time-out issue</h4><p>To avoid time-out issues during the update, open the <strong>DefaultServiceModelData.xml</strong> file and update the threshold value for the timeout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1016/1*DfTwTtubjMwZaA19lkLqSw.png" /><figcaption>avoid time out issue</figcaption></figure><blockquote><a href="https://medium.com/@zia_ur_rahman_dynamics_geek"><strong>thats it follow for more</strong></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b71991ae39c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Implement CI / CD in D365 with Azure DevOps (Release Pipeline)]]></title>
            <link>https://medium.com/@zia_ur_rahman_dynamics_geek/implement-ci-cd-in-d365-with-azure-devops-release-pipeline-423c2b81cb8f?source=rss-b1644706d2a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/423c2b81cb8f</guid>
            <category><![CDATA[release-pipeline]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[azure-devops-pipeline]]></category>
            <dc:creator><![CDATA[Zia Ur Rahman]]></dc:creator>
            <pubDate>Wed, 10 Jan 2024 11:09:37 GMT</pubDate>
            <atom:updated>2024-01-10T11:09:37.648Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article we are going to learn the CI/CD (Continuous Integration &amp; Continuous Delivery) process. so that we can reduce man work and automate process of deployment easy! now we learn how can we streamline our deployment in D365 in automated way to <strong>save time &amp; EFFORT</strong></p><p>So Lets Start!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*3Q2WDfapIW3JopC04tFiVQ.png" /></figure><h3>Step 1 (New <strong>Pipeline</strong>)</h3><p>After Successful build in build pipeline its time to deploy that created package to LCS followed by Deploy to our Environment . Follow the instructions to create a release pipeline</p><p><strong>i)</strong> Login to your azure DevOps repository go to <strong>pipelines &gt;&gt; releases</strong></p><p><strong>ii)</strong> Click <strong>new pipeline</strong> button a dialog will open select <strong>empty job</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wvcghgET8QsEBC0FHuLxbQ.png" /></figure><p><strong>iii)</strong> In artifacts select your <strong>project </strong>and <strong>build pipeline</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*dMgJ_MOyLdu-Obojiq1Opw.png" /></figure><h3>Step 2 (Setup Stages &gt;&gt; Authentication task)</h3><p>In stages add following tasks</p><ol><li><strong>Install MSAL.PS to enable authentication</strong></li><li>Give a Name your task</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*OqNW93H6eZkmCFLHtJ79Pw.png" /></figure><h3>Step 3(LCS Upload Tak )</h3><ol><li><strong>Dynamics Lifecycle Services (LCS) Asset Upload</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/1*Vywy-vXCw0iuO4ipNJY0dA.png" /></figure><ol><li>Name your task select a <strong>LCS Connection</strong> if you don’t have one create one</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*jJHSPHSF1nolK1JioYVFvw.png" /></figure><h3>Step 4(<strong>LCS Connection</strong>)</h3><p><strong>For creating LCS Connection</strong></p><ol><li>Click New a dialog will open enter the <strong>admin user</strong> credentials of Your LCS</li></ol><p>2. Enter an <strong>Application Id</strong> otherwise create it as follows</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*NTCsRsanOIZaN8CxNoUjzg.png" /></figure><h3>Step 5(Azure Application registration)</h3><p>Login to azure portal</p><ol><li>Go to <strong>App registrations &gt;&gt; new Registrations &gt;&gt; Give a name</strong></li><li>Under manage tab select <strong>API permissions</strong> the select add permission</li><li>A dialog will open then go to <strong>APIs my organization uses</strong> and search for <strong>Dynamics Life cycle services</strong></li><li>Select <strong>user_impersonation</strong> and add permissions</li><li>Also <strong>consent Admin</strong> consent to each permission</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*52TDlFnGI0bhskJhVVzl3g.png" /></figure><p>App registration is completed</p><h3>Step 6(<strong>Pipeline </strong>Setup)</h3><ol><li>Get back to Azure DevOps and in New service connection dialog enter AppId</li><li>Give a Name to your LCS Connection and description as well</li><li>In <strong>LCS Project Id</strong> enter your LCS project Id</li><li>To get LCS Project Id login to lcs here <a href="https://lcs.dynamics.com.v2/"><strong>https://lcs.dynamics.com/v2</strong></a></li><li>Open your implementation project and <strong>project ID</strong> lies at the end of URL</li><li>Select<strong> Software Deployable Package</strong> in Type of asset</li><li>In File to upload enter this <strong>$(System.DefaultWorkingDirectory)/_D365Build/drop/AXDeployableRuntime_$(Build.BuildNumber).zip</strong></li><li>In Asset name give it a name as you want</li><li>same for description</li><li>In output variables give a name to variable for LCS Asset (in this case it is <strong>Upload</strong>)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*jJHSPHSF1nolK1JioYVFvw.png" /><figcaption>Configure LCS Upload Task</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*4KCWImt_sGgKPd_kG41ZbA.png" /><figcaption>LCS Project ID</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*S9-90Bv82lbf28Mtz-RKSQ.png" /><figcaption>OutPut variable</figcaption></figure><h3>Step 7(Deployment Task)</h3><p>Now Add new task search for <strong>Dynamics Lifecycle Services (LCS) Asset Deployment and select</strong></p><ol><li>LCS Connection</li><li>LCS project Id</li><li><strong>Environment Id </strong>(To get this open you environment on LCS on which package should be deployed in environment details there is environment id(copy It))</li><li>In LCS File Asset Id enter $(Upload.FileAssetId)</li><li>Type of package &gt;&gt; <strong>Software deployable package</strong></li><li>Name your update that’s it</li><li>Run your pipeline</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*Ps7kkSfZL_vomqbyTpQqUg.png" /><figcaption>Configure Asset Deployment Task</figcaption></figure><p>In Next article we will learn pipeline triggers and many more stay tunes for sun informative content</p><p>follow for more</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=423c2b81cb8f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ImplementCI / CD in D365 with Azure DevOps (Build PipeLine)]]></title>
            <link>https://medium.com/@zia_ur_rahman_dynamics_geek/implementci-cd-in-d365-with-azure-devops-build-pipeline-1a718dac3f03?source=rss-b1644706d2a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a718dac3f03</guid>
            <category><![CDATA[azuredevopsprocess]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[d365]]></category>
            <category><![CDATA[cicd-pipeline]]></category>
            <category><![CDATA[pipeline]]></category>
            <dc:creator><![CDATA[Zia Ur Rahman]]></dc:creator>
            <pubDate>Wed, 27 Dec 2023 06:39:07 GMT</pubDate>
            <atom:updated>2023-12-27T06:42:16.933Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article we are going to learn the CI/CD (Continuous Integration &amp; Continuous Delivery) process. so that we can reduce man work and automate process of deployment easy!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*3Q2WDfapIW3JopC04tFiVQ.png" /></figure><p>so lets start</p><h4><strong>Step 1 (Project Setup)</strong></h4><p>create your project on Azure DevOps and connect it to your Dev VM</p><p>Check-in you code to DevOps Repository</p><p>follow this url</p><p><a href="https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/version-control-metadata-navigation">Version control, metadata search, and navigation - Finance &amp; Operations | Dynamics 365</a></p><h4>Step 2 (Install D365 F&amp;O Extension)</h4><p>Now login to Azure Devops Organization and install<strong> Dynamics 365 Finance and Operations Tools</strong></p><p>For this go to <strong>organization settings &gt;&gt; Extensions &gt;&gt; Browse market Place</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/224/1*XMGNYp7Ses5WexY4i15KqQ.png" /></figure><p>Search for Dynamics 365 Finance and Operations Tools and install it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZMKKqZoAtyQ-bdgDYUw4UQ.png" /></figure><h4>Step 3 (Download <strong>Artifacts</strong>)</h4><p>login to your LCS Account(<a href="https://lcs.dynamics.com/v2">lcs.dynamics.com/v2)</a></p><p>go to shared asset Library &gt;&gt; Nuget Packages</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*_bd03k13uhi6Jyila8idxQ.png" /></figure><p>Download following packages</p><p>i. Compiler Package</p><p>ii. Platform Build reference</p><p>iii. Application Build reference</p><p>iv. Application suite build reference</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TeeGjU_nhhuU5wX9IAbm5A.png" /></figure><p><strong>Caution: </strong>download packages versions according to you your Platform version of your environment on which changes have to be deployed</p><p>(For this open D365 client in about menu option you will see Platform version installed on your environment)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*9Gq9rmzXvV5cS9HoWAh28w.png" /></figure><h4>Step 4 (Create <strong>Artifacts </strong>Feed)</h4><p>On Azure DevOps Open your project go to <strong>Artifacts </strong>and connect to your feed if don’t have create one and then connect</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*ktsQG_aFA7pZXMYMPCwj2w.png" /></figure><h4>Step 5(Config Files)</h4><p>then select <strong>Nuget.exe </strong>and copy project setup xml save to separate file <strong>nuget.config</strong> ,click get tools and download the latest nugget</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*dWBkagfbi7OxYXx-evH4vg.png" /></figure><p>create another file with name <strong>packages.config</strong> and put below code in it &amp; replace with your own version numbers</p><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>&lt;packages&gt;<br>&lt;package id=&quot;Microsoft.Dynamics.AX.Application.DevALM.BuildXpp&quot; version=&quot;10.0.1725.47&quot; targetFramework=&quot;net40&quot; /&gt;<br>&lt;package id=&quot;Microsoft.Dynamics.AX.ApplicationSuite.DevALM.BuildXpp&quot; version=&quot;10.0.1725.47&quot; targetFramework=&quot;net40&quot; /&gt;<br>&lt;package id=&quot;Microsoft.Dynamics.AX.Platform.CompilerPackage&quot; version=&quot;7.0.7068.115&quot; targetFramework=&quot;net40&quot; /&gt;<br>&lt;package id=&quot;Microsoft.Dynamics.AX.Platform.DevALM.BuildXpp&quot; version=&quot;7.0.7068.115&quot; targetFramework=&quot;net40&quot; /&gt;<br>&lt;/packages&gt;</pre><p>write versions carefully get them from downloaded nuget packages .nuspec files as below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ybwUDj0w-66_792_1rtMtQ.png" /></figure><h4>Step 6 (Push <strong>packages</strong>)</h4><p>Open Command prompt and write following commands to push your packages to Artifacts feed</p><pre>nuget.exe push -Source &quot;yourFeedName&quot; -ApiKey az C:\Downloads\D365Builds\Microsoft.Dynamics.AX.Application.DevALM.BuildXpp.nupkg<br>nuget.exe push -Source &quot;yourFeedName&quot; -ApiKey az C:\Downloads\D365Builds\Microsoft.Dynamics.AX.ApplicationSuite.DevALM.BuildXpp.nupkg<br>nuget.exe push -Source &quot;yourFeedName&quot; -ApiKey az C:\Downloads\D365Builds\Microsoft.Dynamics.AX.Platform.CompilerPackage.nupkg<br>nuget.exe push -Source &quot;yourFeedName&quot; -ApiKey az C:\Downloads\D365Builds\Microsoft.Dynamics.AX.Platform.DevALM.BuildXpp.nupkg</pre><p>when prompts use your administrator mail as username and Personnel access token as password</p><p>if you don’t know how to get it just go to user settings and select personnel access token</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/224/1*ysuunCkspL_zZhQAPqOxKQ.png" /></figure><h4>Step 7 (Push Config Files to Source Control)</h4><p>create new Folder named <strong>Build Automation </strong>and add <strong>packages.config ,nuget.config</strong> in it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fUrmd0BVcSuGpumZi59r3w.png" /></figure><h4>Step 8(Import Pipeline)</h4><p>download Pipeline script from below url</p><p><a href="https://github.com/microsoft/Dynamics365-Xpp-Samples-Tools/blob/master/CI-CD/Pipeline-Samples/xpp-classic-ci.json">https://github.com/microsoft/Dynamics365-Xpp-Samples-Tools/blob/master/CI-CD/Pipeline-Samples/xpp-classic-ci.json</a></p><p>In Azure Devops Go to Pipelines Click Import Pipeline and import your downloaded file it will create a new build pipeline</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*wZ-4lAggDh7ArpdibyUa9g.png" /></figure><h4>Step 9(Adjust pipeline paramters)</h4><p>Now open your pipeline go to tasks and on pipeline task specify <strong>Azure Pipelines</strong> on agent pool and <strong>windows 2019</strong> on agent specification</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*1Hr_62pOe0CWHg-e5jnttA.png" /></figure><p>on Get sources select <strong>TVFC </strong>source and choose deployment branch path in workspace mappings</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v8wJgpCtnlkfgX4VxagSFA.png" /></figure><p><strong>Suggestion </strong>(I suggest to make a separate merging branch for this)</p><p>on Build soution task specify soution to be build or just leave as it is and select a visual studio version</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*klQon0Ip1F5-cTyPEjbQAg.png" /></figure><p><strong>Suggestion </strong>(I suggest to make a separate solution&amp; add empty projects for all the models and select that solution)</p><p>Add Licenses to Deployable Package task will be disabled initially if you are using ISV solution then enable it and specify license file otherwise just leave it as it is</p><h4>Step 10(Run Pipeline)</h4><p>run your pipeline if no errors exist then deployable package has been added to Artifacts in you pipeline run otherwise log file will be added to same path</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*Crw0f1YBrmFcRfVHpWtpLw.png" /></figure><p>You did it</p><p>In upcomming articles we will learn about release pipelines</p><p>follow for more</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a718dac3f03" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Registring Application on Azure for Integration]]></title>
            <link>https://medium.com/@zia_ur_rahman_dynamics_geek/registring-application-on-azure-for-integration-d382bbc304d9?source=rss-b1644706d2a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/d382bbc304d9</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[d365-fo]]></category>
            <category><![CDATA[dynamics-365]]></category>
            <category><![CDATA[azure-app-registration]]></category>
            <dc:creator><![CDATA[Zia Ur Rahman]]></dc:creator>
            <pubDate>Thu, 21 Dec 2023 09:26:07 GMT</pubDate>
            <atom:updated>2023-12-21T09:26:07.016Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article we are going to register an application on azure portal for using in integration</p><p>Azure apps are used to communicate between two plateform</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*Zo5EH3KF1fak1ZyItHcdQQ.png" /></figure><p>Lets start</p><p>Login to Azure portal with your credentials</p><p>go to app registrations ,click new registration</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x-NGETt_c9ulo-H9zesH_A.png" /></figure><p>give a name for application and Select Supported account types</p><p>enter your base d365 url in redirect url</p><p>Add API permission from API Permissions for Dynamics ERP as follows</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J7xBDLvOOBLiAL0Qo4Ln_Q.png" /></figure><p>generate new Client Secret</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z8xjMf4-sGa4XmMPbuoJBQ.png" /></figure><p>AFTER THAT YOU APPLICATION WILL LOOK LIKE THIS</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D4hpGdxWAe_A_uP1GLA2Jg.png" /></figure><p>you did it</p><p>follow for more</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d382bbc304d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>