Hi all,
I successfully installed dynamics 365 Marketing and opted to host the Event Website on a Portal.
Portal was working fine but I needed to customise the styling so went on the journey to download a sample website and re-deploy using the powershell script.
Files all updated ok following deployment but portal now broken with following error:
"http failed during parsing for https://xxxxx.powerappsportals.com/api/events/published/?ts=1630871762357"
Only issue I see in the browser network log is referring to a favicon icon?
Any ideas? I see someone has had this error previously on this forum, but the issue was resolved offline.
Thanks
Alex
Hi all,
I have been able to resolve this issue by restoring the portals config back to out of the box using the configuration migration tool, steps here:
https://docs.microsoft.com/en-us/dynamics365/marketing/developer/manually-overwriting-sample-website
Then I have re-deployed my customisation changes using the DeployToDynamics365Instance.ps
Somehow it appears a previous deployment run via PowerShell had removed the source code in the PortalAPI web template.
Reverting to out of the box restored this and then the subsequent PowerShell deployment didn't overwrite this code.
Thanks Frank, but I am not using a custom domain so shouldn't require CORS to be enabled, and I don't see any error in the console.
One thing I can't seem to do is test the site locally as I can't find any CSRF setting in the PortalAPI web template, the template is blank which is making me wonder if this is causing the other issue.
Looking at the modifiedon date/time the PortalAPI web template was updated when I ran the PowerShell deployment script but it appears blank, so I can't find any flag to change.
Thanks
Hi,
You can refer to this post:
If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.
Best Regards,
Frank Gong
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156