Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Custom event website on Azure

(0) ShareShare
ReportReport
Posted on by 20

Hello,

I am trying to make a custom event website, but I am having many difficulties. In this case, I am trying to host it on Azure.

I followed the steps in the MS documentation for 'event management web application' and then I followed exactly all the steps in the 'Host your custom event website on Azure' documentation.

When registering the web application, I created a new one in D365 Marketing and put as "Origin" the URL "Primary endpoint" given in the static page creation.

In the environment configuration of the Angular code, I put the Endpoint of the web application in the "apiEndpoint" field (in the place of /HOST/) and the token generated in the field "emApplicationtoken".

After that, I did the build, generated the "self-hosted" folder, and uploaded all the generated files to the $web blob container.

When I logged into the site (Primary endpoint) I got the error "We're having trouble communicating with the server".

Can someone help me?

pastedimage1622754605478v1.png

  • Henrique15 Profile Picture
    Henrique15 20 on at
    RE: Custom event website on Azure

    Hello,

    Keeping trying to do that. I have yet the same error and even with the CORS configured, I'm not be able to see the events on the website.

    Could anyone help me, please?

  • Henrique15 Profile Picture
    Henrique15 20 on at
    RE: Custom event website on Azure

    Thanks for the answer Nya.

    I tried setting up CORS on the portal, but it didn't work. Actually, I cannot host the site in the Portal because I use a Trial version of D365 Marketing (and in the setup wizard the Web hosting option does not appear).

    As a workaround, I am trying to host the site at an external location and since I have access to Azure, I decided to create this "Storage account -> Static website" to see if I could host the site and make the event site work. But I still have no success and the message "We're having trouble communicating with the server." keeps popping up.

    Do you have any idea to help me, please?

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: Custom event website on Azure

    Hi,

    Please refer to the following link to test whether it could solve your problem.

    Power Apps portal hosted custom event website (Dynamics 365 Marketing Developer Guide) | Microsoft Docs

     

    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,

    Nya

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,969 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,842 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans