Microsoft_MVP_banner

MS D365 FinOps and Supply Chain Management Integration – Session at Microsoft Rector Sydney

MS D365 FinOps and Supply Chain Management Integration - Session at Microsoft Rector Sydney

Recently talked about Microsoft Dynamics 365 Finance Operations and Supply Chain Management integration with Common Data Services – Dual write, Virtual Entities, and Data Integrator. Idea is to show how FO data can be utilized in Power Platform being now as a part of MS Ecosystem as an business application app. Data was there since beginning, technologies change over period of time to access, manipulate, and display the data. This is an era of making every user a powerful user so everyone can articulate their ideas. Microsoft Dynamics 365 Finance and Operations applications have been the backbone of all financial data in any organization but how can you leverage this data using Power Platform and have this into Common Data Service. This session explains all these aspects.

The Dual Write implementation – Part 3 – Entity map explained

The Dual Write implementation - Part 3 - Entity map explained

In continuation of our journey to have D365 FinOps data in CDS, Following has been covered. Part 1: The Dual Write implementation – Understanding Dual-write and setup application users  Part 2: The Dual Write implementation – Understand and Action Pre-requisites The Dual-write has been setup and the dual-write solution has already applied  I have chosen Asset management asset types (msdyn_customerassetcategories) entity map from the list to put lights on all infrastructural features (aspects) of Dual-write. Entity map naming convention  Entity mappings:  Click on entity map to view all entity fields mappings More field mappings can be added by clicking on Add mapping These can be OTB fields of entities or custom added ones Two actions can be taken on each entity map field; Reset and Delete Activity log provides details when was the last run and what was the outcome of that last run, if there was an error it shows activity id which can be shared to MS dual-write team to investigate further if you cannot find any resolution. Initial Sync details displays the outcome of initial data copied from D365 FinOps to CDS or vice versa.  Initial sync runs for all legal entities mapped for dual write e.g. if you have mapped more than 1 Legal entity there will be that number of entries in initial sync details. It also runs in alphabetic name sequence of the legal entity, e.g. DAT, USMF, and USSI  Catch up errors displays errors happened during data copied across environments through dual-write Details tab shows detail about the selected entity map Entity map version lets you save your changes with versioning (it is a manual numbering system so don’t mix it with actual version control numbering). Add a new entity field mapping and hit Save as and I have to choose Publisher and type in Version After provided this information and saved, it keeps the versioning of entity mappings. Below, I am showing this feature for Warehouse entity map where I have added custom fields Entity map can be Stopped or Paused and these option are enabled when the entity map is running otherwise you will see Run option.   Field mappings can be transformed using value maps to translate data into target language e.g. D365 FinOps understand Yes or No however, CDS holds data as true or False so this transformation has been defined below. These transformations can be copied or written using JSON format – very handy option. Dual-write can be setup for One-directional sync and Bi-directional sync. Data can be filtered from any part of the integration e.g. To sync only Customers of type “Organization” filter can be added like this by clicking on little funnel next to FO entity name Similary CDS filters can be added and the syntax is defined here Syntax Expression in Query Ranges New entity map can be added where an OTB entity or custom built entity can be chosen  followed by adding entity fields mappings as explained above.

D365FO: An Internal error has occured

D365FO: π™‡π˜Ύπ™Ž π™šπ™­π™₯π™€π™§π™©π™šπ™™ π™—π™–π™˜π™₯π™–π™˜ π™π™žπ™‘π™š π™˜π™€π™£π™©π™–π™žπ™£π™¨ π™˜π™€π™§π™§π™ͺπ™₯π™©π™šπ™™ 𝙙𝙖𝙩𝙖

Recently Lately started having above error message when trying to RDP to cloud hosted Dynamics 365 Finance and managed to able to connect with multiple tries. Keep trying to connect and it will work πŸ˜‰ MS shared below article to follow but you have to be very cautious in implementing this change https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-rdp-internal-error#repair-the-vm-offline

The Dual Write implementation – Part 2 – understand and action pre-requisites

The Dual Write implementation - Part 2 - understand and action pre-requisites

Prior linking environments (D365 FinOps and CDS) for dual write integration, let’s work on what are the pre-requisites for this bi-directional integration from D365 FinOps to CDS or vice versa. Check all these steps are passed and marked checklist Follow these steps to link environment (all these steps are detailed at here). Go to D365 FinOps | Data Management workspace | Dual-write Click New link to environment Choose CDS environment to link with D365 Finops, CDS environment has to be on same tenant and your user must have been added as an admin as have seen in Part 1 Select available list of Legal Entities from D365 FinOps. These can be filtered as shown below for selection. Health check confirms all pre-requisites are installed/configured Setup Application users in D365 FinOps and CDS (CE environment) – But why ? “The reason for that is because the dual write technology is tightly coupled, Synchronous engine and what that means is that the data or the integration have a direct connection between the two system. So for example, FinOps when it needs to send data, it send the data to CDS using direct connection. What you need to do is to create some application users on each application side to allow those incoming connections.” Those being setup and detailed in Part 1 of this blog series There are two application ids being added to Azure Active Directory application screen.   1. One application user is for incoming connections from the data integrator side 2. One is for incoming connection from my CDS instance Why data integrator side on the incoming connection? When initial write happens, the initial write is nothing but a hidden data integrator project, an initial sync mode or an initial write mode is we have incoming connection from the data integrator to D365 Finance and Operations. Once you are in live sync (running state) mode then connection would be incoming from CDS instance. This is why you need application users for two different type of connections. P.S. You also need a similar setup in your CDS instance. Two Dual Write solutions and Two Aspects Dual write has two aspects Think about Dual Write is not just he infrastructure framework like you are configuring it and using it and then you are going to get data from left to right. The infrastructure is providing you near real time experience with live sync of data The application side of things we really need to have OTB experience so you do need to develop something that just an easy configuration at the end. Two dual write solutions have to be installed in the CDS environment, as installed and detailed in Part 1.   1. The Dual-write Core Solution is focus on the infrastructure capabilities at the solution awareness for the dual write maps 2. The Dual-write Orchestration Solution includes all OTB entities and mappings that MS has shipped as part of Dual-write This is available with name Dynamics 365 Finance and Operations Dual Write Entity Maps. Once applied to the environment it creates all Out of the box entity maps and will look like as follows. Click Apply Solution and choose Dynamics 365 Finance and Operations Dual Write Entity Maps solution After the solution is being applied, the first screen will appear will look like this Stay tune, will continue with next steps in next post. 

The Dual Write implementation – Part 1 – Understand and Setup

The Dual Write implementation - Part 1 - Understand and Setup

What is Dual-write? Tightly couples – complete at one transaction level Near real time Bi-directional Master data and business documents – Customer records you are creating and modifying and at this document we are talking about sales orders or quotes and invoice. Master data could be reference data e.g. customer groups and tax information Β  Why Dual-write and why not Data Integrator? Β  Data Integrator is Manual or Scheduled One directional Β  Β  Now, Let’s deep dive and understand what is required for Dual-write setup and from where to start. First thing first, check you have access to https://make.powerapps.com/ Choose right environment of CDS (CE) Make sure you have access to the environment too, click on gear icon and Admin CenterΒ  Look for required environment and Open it, you must have access as going forward you are going to configure dual write steps in the environment user the same user you are logged in now. Now, go back to power platform admin center and follow these steps. Β  1. Resources 2. Dynamics 365 apps 3. Filter with word ‘Dual’ Β  Β  Follow these steps and install first dual write solution ‘Dual-write application orchestration solution‘ Β  Follow same steps to install ‘Dual-write core solution‘ Β  Log on to CE environment and click on gear icon | Advance settings Β  Click on Settings little down arrow and select Security Β  Click on UsersΒ  Β  Switch to Application Users and create two new users using these two application Ids Β  00000015-0000-0000-c000-000000000000 2e49aa60-1bd3-43b6-8ab6-03ada3d9f08b Any email address can be used and not necessarilyΒ be valid emails Β  Now, log on to D365 Finance and Supply Chain Management environment Β  Go to System Administration | Setup | Azure Active Directory Applications and add following application Ids Β  6f7d0213-62b1-43a8-b7f4-ff2bb8b7b452 2e49aa60-1bd3-43b6-8ab6-03ada3d9f08b Β  Β  You are done with the initial setup and installation of dual write solutions – great job !! 😐 Β  NOTE: Both CDS and FO environments have to be on same tenant. That’s it with this post and will continue with configuring dual write so stay tune!!! MS Docs Reference: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/dual-write/requirements-and-prerequisites

D365FO Update to PU36 (10.0.12) and experienced error “Something went wrong when communicating with the service.”?

D365FO Update to PU36 (10.0.12) and experienced error "Something went wrong when communicating with the service."?

Version 10.0.12 is now generally available and the changes can be reviewed from https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/fin-ops/get-started/whats-new-changed?toc=/dynamics365/finance/toc.json If you have updated an existing VM to 10.0.12 and hitting above error message, you need to install quality update for 10.0.12 to get this fixed. The fix is available as quality update with KB4573886. https://fix.lcs.dynamics.com/Issue/Details/1300159?kb=4573886&bugId=468271&dbType=3&qc=2af3ffc89733609fa2bf7b19cf337e573e1bb98fac4144bff4c6b4fd28839583

Q&A: The Dual Write Questions

Q&A: The Dual Write Questions

Recently conducted webinars, summits, and D365 FinOps Saturday sessions on Dual Write.  Interested to watch the replay? Here are the recordings. (do subscribe for upcoming events!!!) Dual Write is an out-of-box infrastructure that provides near-real-time interaction between model-driven apps in Microsoft Dynamics 365 and Finance and Operations apps. When data about customers, products, people, and operations flow beyond application boundaries, all departments in an organization are empowered.Dual-write provides tightly coupled, bidirectional integration between Finance and Operations apps and Common Data Service. Any data change in Finance and Operations apps causes writes to Common Data Service, and any data change in Common Data Service causes writes to Finance and Operations apps. This automated data flow provides an integrated user experience across the apps. Q&A part of any discussion/presentation benefits you to understand the topic from your viewpoint. The following are the questions I have received in all my online sessions. I will keep adding all future questions as part of this blog series. Q: How to transfer this setup(mapping, JSON, etc..) to other env. (like DEV to SAT and SAT to PROD) A: Dual-Write is solution aware which enables basic ALM (Application Lifecycle Management) abilities such as transportation and backup/restore of Dual Write maps across environments. Q: Does it work well for entities that have composite keys A: Composite keys are fine and Dual-Write automatically adds legal entity/company to the keys for entities that aren’t global to make them effectively composite.  Q: Do these apps (Dual write solutions) are Microsoft Owned or Customer-owned? Can it be possible to replace it with Customer-owned?  A: The apps are Microsoft-owned and automatically added to AAD so they’d be difficult to replace.  Q: OData isn’t known for great performance, how long does the initial sync take? A: True on OData performance, initial sync depends on the volume of the data. Dual Write syncs record-by-record. Q: You mentioned there are still some features coming in the future. Can you estimate how much of F&O has been already mapped to  CDS and how much still to come? A: Think of it as 2 parts. 1. The technology that allows the two systems to integrate in real-time. This I feel is pretty solid and improving. 2. Mapping scenarios that are developed by Microsoft. Look here to look at concepts Microsoft has done and documented. https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/dual-write/customer-mapping Q: Does it support multi-lines documents? something like Purch order with several lines  A: Yes. because it is in real-time. Q: How errors are processed? A: It will appear in real-time to the user Q: so saving will not be allowed in CE? A: correct. it will rollback. It is part of the transaction ttsbegin/ttscommit Q: Is there a way at the moment to handle cross-company shared scenarios using the Dual Write? A: Not supported with dual write at this moment. Q: How Pricing sync works between CE and FO A: https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/dual-write/pricing-engine Q: Question about licensing costs that might need to be taken into consideration when using CDS? A: Licensing model that dual write is a service bring added to the product, but you do not need an additional license for it, so it’s included in your FinOps subscription so that allows you to get the data written into the CDS. However, as soon you need to have the data to use the data on sales you have to have to subscription for the sales or for marketing.  For whatever customer engagement apps you would like to use so that’s not included. So take care in this area. Dynamics 365 Licensing and Pricing https://dynamics.microsoft.com/en-us/pricing/ Q: How do you handle situations where address fields on CE are 50 chars wide but 25 on FO? A: Truncate, but the best to keep it equal size to avoid data lost Q: Performance (speed) of CDS? A: For performance, the recommendation is to sync 1000s of records with initial sync. Q: Do unlinking environments have any impact on data already synched between FO and CDS? A: There will be no impact already synced data with unlinking the environments, the data will remain in each environment and you need to delete from each environment before linking the environments again if needed  Q: Will we able to create a model-driven app with D365FO data rather than a canvas app? A: Yes, dual write makes it possible to have FO data in CDS which can be used for any app. Q: If we create the custom entity map, do we also have to add the integration key, or will it be added automatically? A: Integration key comes from CDS which is an alternate key there (if defined otherwise company field) and this comes automatically to Dual Write. Q: Is this restricted to a single tenant? Can it be used between tenants which are located in different datacenters? A: Yes, both environments have to be on a single tenant. FO and CDS instances can be located on different datacenters but to avoid latency it is recommended to have both in the same datacenters. Q: How to deploy dual write entity mapping from DEV to UAT to PROD? A: Dual-Write is solution aware which enables basic ALM (Application Lifecycle Management) abilities such as transportation and backup/restore of Dual Write maps across environments. This is through solutions in PowerPlatform.

What’s coming 2020 release wave 2 plan – my takes

What's coming 2020 release wave 2 plan - my takes

Microsoft Dynamics 365 and Microsoft Power Platform 2020 release wave 2 plans are out, check out the full list Microsoft Dynamics 365: https://docs.microsoft.com/en-us/dynamics365-release-plan/2020wave2/ Microsoft Power Platform: https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave2/ These features will be available from October 2020 through March 2021 2020 release wave 1 plan which are from April 2020 through September 2020 What’s new and planned for Dynamics 365 Finance features list can be viewed from here https://docs.microsoft.com/en-us/dynamics365-release-plan/2020wave2/finance-operations/dynamics365-finance/planned-features What I liked most is listed πŸ’— Touchless email reminders to customers We often have to set alerts for payment reminders based on certain conditions (e.g. overdue) but with this touchless email reminders features, it will give you more peace of mind by automatically sending email reminders might initiate an activity that encourages payment sooner than would be made without the reminder. When enabled, email reminders will be sent automatically to customers, with a list containing overdue invoice information based on email templates. Configurable business documents conversion to PDF This has been a very common requirement even in AX 2009 and AX 2012 and now in Finance and Supply change management to have documents convert to PDF e.g. when printing reports on screen or download. Having enabled this new feature let you any business document generated in Excel or Word to be converted to PDF. You can use the PDF conversion option to convert the output in Microsoft Office format (Excel/Word) to PDF format. Make PDF conversion available To make the PDF conversion option available in the current Finance instance, open the Feature management workspace, and turn on the Convert Electronic Reporting outbound documents from Microsoft Office formats to PDF feature. Finance and Operations cross-app capabilities MS has done a fantastic job in bringing Finance and Operations data natively available in CDS through Data Integrator and Dual Write. With this release wave, more features are coming to streamline this process and enhance digital transformation. These features are going to be person opt-in enabled which allows customers to adopt new features at their own cadence and are not forced with 8 updates of the year from MS. Lifecycle Services (LCS) new enhanced experience consistent for all Dynamics and Power Platform users. Enhanced view with issues categories A context-based document search experience More visibility to known issues and status for the impacted product versions through Knowledgebase suggestions. New grid control with a lot more advanced features You may have already used some of these features and have experienced issues e.g. You might run into situations occasionally where the grid headers and data are misaligned, or the grid jumps while you scroll through data or create new records. Grid capabilities https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/fin-ops/get-started/grid-capabilities Benefits at glance    Β·         Performance Β·         Positional scrolling Β·         General improvements Β·         Reorder columns Β·         Mathematical formulas Β·         Totals Β·         Fast data entry Task recorder with enhanced capabilities Improvements to allow coverage of additional scenarios by regression tests and to improve the experience of users creating and maintaining these regression tests. Saved views – general availability https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/fin-ops/get-started/saved-views Data and process integration – My favorite πŸ’“ Finance and Operations data natively in Common Data Service Release wave 1 features for dual write is: 112 entities are supported – that’s a pretty big number so hats off to MS to achieve this in record time. Customers, Vendors, and Products integration between FO and CE Company concept in CDS On-demand pricing from Finance and Operations apps Integrated quotes, orders, invoices, and assets Reference data from finance, tax, account receivable and accounts payable Release wave 2 targets: Support for Dynamics 365 Commerce scenarios on Common Data Service Party model, activities and notes, and services Generic Dual Write enhancements and error handlings Finance and Operations data in Azure Data Lake Storage Gen2 Β·         Available in all supported regions Β·         The transition from BYOD and Entity Store to Azure Data Lake Storage Gen2

D365FO – How to read metadata information from AOT through X++

D365FO - How to read metadata information from AOT through X++

Following code snippet loop through metadata information of AOT objects (this example is to loop through all data entities). class DataEntityExtension {     /// <summary>     /// Runs the class with the specified arguments.     /// </summary>     /// <param name = “_args”>The specified arguments.</param>      public static void main (Args _args)     {         DMFEntityTableExtension entityTableExtension;         var entityNames = Microsoft.Dynamics.Ax.Xpp.MetadataSupport::GetDataEntityViewNames();         Var enumerator = entityNames.getEnumerator();                 while (enumerator.MoveNext())         {             enumerator.MoveNext();             Microsoft.Dynamics.AX.Metadata.MetaModel.AxDataEntityView axDataEntity = Microsoft.Dynamics.Ax.Xpp.MetadataSupport::GetDataEntityView(enumerator.Current);             if (axDataEntity)             {                                     entityTableExtension.Label = SysLabel::labelId2String(axDataEntity.Label);                     entityTableExtension.PublicEntityName = axDataEntity.PublicEntityName;                     entityTableExtension.PublicCollectionName = axDataEntity.PublicCollectionName;                     entityTableExtension.EntityName = axDataEntity.Name;                     entityTableExtension.IsPublic = axDataEntity.IsPublic;                     entityTableExtension.insert();                     info(strFmt(“Entity Name: %1 — Entity Label; %2 — Entity public collection Name: %3 — Entity Public Name %4 — Is Entity Public – %5”,                                 axDataEntity.Name,                                 SysLabel::labelId2String(axDataEntity.Label),                                 axDataEntity.PublicCollectionName,                                 axDataEntity.PublicEntityName,                                 axDataEntity.IsPublic));                             }                     }     } } OUTPUT:

D365FO – Rotate SSL Certificates in Tier 1 environments

D365FO - Rotate SSL Certificates in Tier 1 environments

If you face following error all of a sudden when accessing tier 1 environment like I faced, follow next steps in the post to get it working. The SSL certificate has been expired and requires renewal How to renew the certificate? The easiest way is to do through LCS Go to Environment details page | Maintain | Rotate secrets | Rotate SSL CertificatesΒ  Β  Click OK on next opened screen, environment status changes to Rotating secrets. Β  Important: This does little bit time so better plan it accordingly. Β  Β  Refresh environment details page and wait for it to turn to Deployed state and access, it should be fine now.

FaisalFareed@2025. All rights reserved

Design by T3chDesigns