Hello All,
when we host the event portal on dynamics 365 marketing what changes should be done for the environment.ts file?
do we need to update the apiendpoint and usereststack similar to values which will be set while testing on local host:4200
or
do we need only to run the script ? If yes what should be values in environment.ts file for apiendpoint and usereststack?
kind regards
abhilash
Hi Clofly,
If we're using the Power Apps Hosted Event Portal option, do we need to manually update any settings to use the new Event API or is that automatically handled?
Thanks
Yen
Hey Abhilash, did Clofly's reply help you? The documentation lists out the list of things to be done when hosting the event website on the portal.
Thanks,
Shravan
Hi abhilash,
Please refer to following summary table:
apiEndpoint | useRestStack | emApplicationtoken | Scenario | |
---|---|---|---|---|
deprecated Event Management Portal API | false | Event Portal, Self-hosting, localhost | ||
new Event Management Public API | true | 32NDwxMFHxxx... | Self-hosting, localhost |
Steps for using deprecated Event Management Portal API
Steps for using new Event Management Public API
Self-hosted custom event website (Dynamics 365 Marketing Developer Guide) | Microsoft Docs
Therefore, to run the ps1 script, we should use deprecated Event Management Portal API.
Regards,
Clofly
André Arnaud de Cal...
292,074
Super User 2025 Season 1
Martin Dráb
230,900
Most Valuable Professional
nmaenpaa
101,156