Getting domain authentication error when embedding Marketing forms to an external landing page

Recently, I have encountered an issue in Dynamics 365 Marketing where I was not able to embed the marketing form, I created to an external landing page.

  1. I created Marketing form and published it.
  2. I whitelisted the domain and these domains were authenticated.
  3. I added an associated marketing page to the marketing form.
  4. I copied and pasted the code snippet to paste in to the external landing page.

I got the following error.

It left to me surprise that why I am getting such error when I have authenticated domain. I researched about it and all the blogs; forums referred that

  1. Add an authenticated domain to your Marketing instance.
  2. Remove Chrome extensions and re-paste the code snippet.

But none of them worked. So, I tried following. I added as an authenticated domain and whitelisted it in the Marketing forma and it worked. Erueka!!!!

Dynamics 365 solution for supporting people in Covid-19

Recently, I along with 2 other Dynamics 365 champions (Kasun Pathirana and Subbiah) participated in a Hackathon in New Zealand where we developed and presented solution based on Dynamics 365 and Microsoft 365 to help and support people during Covid-19. It could be financial hardships, stress and anger management, or domestic violence. You name it we have it. 😊 Below is the demo

Resolve issues using Solution Health Hub in Dynamics 365

Solution Health Hub allows you to get a better picture of the state of your environment and detect issues with your Dynamics 365 environment. The Solution Health Hub runs rules within an instance to validate the environment’s configuration, which might change over time through natural system operations. Some of the rules are specific to Sales, Marketing, Field Service, IoT and Document Management and you can run the rules on demand when you encounter an issue. Some rules automatically trigger when solutions are installed or updated by Microsoft. It is recommended that you run health check to early detect the potential issues to continue BAU (Business as usual).

Here are a few common issues the Solution Health Hub detects:

  • If critical Marketing workflows are deactivated
  • If critical Field Service processes are deactivated
  • If processes that will cause an upgrade to fail are assigned to disabled users
  • Customized web resources that will later lead to runtime issues

Previously I encountered error during an upgrade of Field Service where Solution Health Hub could have helped to identify the blockage issues. See my previous blog here.

Recently, I faced the following issue when I was working on Marketing forms in Dynamics 365 Marketing. Because, this is a unique error to which we have no clue, we end up creating Microsoft Support ticket which would take its own SLA to identify, research and resolve.

Guess what, I was able to resolve this issue by myself within 5 min. I just saved a huge amount of time. Here is what I did.

  1. Navigate to Dynamics 365/Solution Health Hub
  • Click on Analysis Jobs/+New/Select Marketing rule set/Click OK. There are already in-built rules designed for health analysis for various modules as mentioned above. You can create your own if you need.
  • Once it runs, you will get the following screen with analysis results. It will clearly highlights if there is any issue. Select the record and click Resolve.
  • Your issues will be resolved within fraction of seconds.