At present, got an issue with the event api request(.../api/events/event/?readableEventId={readableEventId}). But there are no error before.
correlationId: "65f53267-f43c-4fd3-9ca3-40da565e474c"
errorMessage: "There was an issue with the request. See plug-in trace logs for further details."
statusCode: 500
type: "InternalServerError"
Hey Zeozip - when you say that the newest version uses the old API - have you updated the event website as well (after upgrading D365 for Marketing?) - Here is the link to the docs with the latest version of the sample website - docs.microsoft.com/.../event-management-web-application
Hi Zoezip,
The new api requires us to make a registration with hosting server URL in Settings > Web Application, then send request with its generated apiEndpoint and token in new api style.
My marketing application is trial version and there is no event website binding to the portal,
so currently I have no apporoach to portal style API.
I will give you a reply as soon as I upload local files to Portal.
In addition,
could you share me did you write a custom event api for problem solving?
And attribute 'msevtmgt_allowanonymousregistrations' is an existing attribute for Event entity,
while "adx_" is for entities in portal(web page etc),
you could try add msevtmgt_allowanonymousregistrations attribute for your msevtmgt_event entity, or try your own custom api method as you mentioned in previous.
Hope it helps.
Best Regards,
Leo
Thanks, I have wrote a custom event api to solve the problem, cause I still can not use this new api to get the data.
And I have noticed that the newest version still using the old api.
In addition, when do the event registration by using default event register api I also got an error message.
However, the attribute 'msevtmgt_allowanonymousregistrations' should be 'adx_allowanonymousregistrations', but the api is not editable.
Hi Zoezip,
It seems that Your request URL might have some issue, therefore the event server returns such error.
Could you let me know which end do you work on with this request?
By plug-in back-end or HTML front-end?
If it's plug-in, please share screenshot of plug-in trace logs,
find it in Settings > Customization > Plug-In Trace Log.
My suggestion is below:
From the official doc,
It recommends us to work with new Event Management API
Please enable useRestStack variable to True in environment.ts whatever your event hosting server is(portal or external custom).
I made a successful request with URL below:
apiEndpoint/.../Ted_Contoso
, and Ted_Contoso is readable event ID parameter.
You can find full API reference with new style syntax from this doc:
https://go.microsoft.com/fwlink/?linkid=2042224
In addition, if your issue still exists with new API, please share me screenshot of where did it take place.
Regards,
Leo
André Arnaud de Cal...
292,074
Super User 2025 Season 1
Martin Dráb
230,900
Most Valuable Professional
nmaenpaa
101,156