Fixing Dynamics 365 Marketing Event Portal Loading Issues

Kaushal KodagodaDyn365CE3 years ago13 Views

I recently updated Dynamics 365 Marketing instance and installed the portal application.

Here are the steps I followed to deploy the sample event portal: Power Apps portal hosted custom event website (Dynamics 365 Marketing Developer Guide) | Microsoft Docs

I downloaded event portal zip file according to the application version and deployed it using DeployToDynamics365Instance.ps1 PowerShell script.

ISSUE

Portal loaded a blank page after the deployment. When I checked the browser console, it showed below error.

Refused to apply style from 'https://testorg.powerappsportals.com/eventmanagementapp/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.testorg.powerappsportals.com/:1

Refused to execute script from 'https://testorg.powerappsportals.com/eventmanagementapp/runtime.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. testorg.powerappsportals.com/:1

Refused to execute script from 'https://testorg.powerappsportals.com/eventmanagementapp/polyfills.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. testorg.powerappsportals.com/:1

Refused to execute script from 'https://testorg.powerappsportals.com/eventmanagementapp/scripts.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. testorg.powerappsportals.com/:1

Refused to execute script from 'https://testorg.powerappsportals.com/eventmanagementapp/main.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

ROOT CAUSE

Deployment script has not copied all required files for the specific D365 marketing application version. You can find the application version by going into https://make.powerapps.com > Select environment > Solutions page.

  1. Search for Marketing – Event Management and note down the application version.

HOW TO FIX

Manually deploy required sample event portal files for the marketing instance.

Here are the steps:

  1. Find relevant sample event portal files from : Manually overwriting a sample event website (Dynamics 365 Marketing Developer Guide) | Microsoft Docs (Sample event portal file version should match with the marketing app version)
  2. Save the zip file
  3. Download Configuration Migration Tool. Easy steps : Download tools from NuGet (Microsoft Dataverse) – Power Apps | Microsoft Docs ( I used PowerShell for this)
  4. Open the tool > Select “Import Data”
  5. Login to the organization and select environment
  6. Select zip file(#2) and load

Once loading is completed, reload the event portal and it should now load event portal homepage.

Original Post https://immersivecoder.com/2021/04/02/fixing-dynamics-365-marketing-event-portal-loading-issues/

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
March 2025
MTWTFSS
      1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31       
« Feb   Apr »
Follow
Sign In/Sign Up Sidebar Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...