Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : kVMetzBwTqSpSc4r3pOEks
Customer experience | Sales, Customer Insights,...
Suggested answer

Custom event website on Azure

Like (0) ShareShare
ReportReport
Posted on 3 Jun 2021 21:10:48 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
    20 on 07 Jun 2021 at 19:56:11
    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
    20 on 04 Jun 2021 at 12:07:38
    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
    29,058 on 04 Jun 2021 at 07:06:33
    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete