Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

How to use the events API

(0) ShareShare
ReportReport
Posted on by 5

Hi everyone,

I am trying to register my web application (my events portal?) as it explained on the microsoft documentation, but after I did all the step I tried to test the API on Postman and I have no result, my request for :

https://xxx.svc.dynamics.com/EvtMgmt/api/v2.0/events/published?emApplicationtoken=xxx
give me the following result:

pastedimage1611134503899v1.png

In my CRM, for register the application I used the address of my Events Portal for "origin field"
pastedimage1611134811856v3.png
What did I do wrong ?
Thanks in advance for your help!

  • Zukasa Kyu Profile Picture
    Zukasa Kyu 135 on at
    RE: How to use the events API

    Hi Clofly,

    Thanks!

    It is really helpful.

    Zukasa

  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: How to use the events API

    Hi tomy,

    If my answer helped you, please kindly mark it as verified to close the thread, thanks.:D

    Regards,

    Clofly

  • Suggested answer
    tomy57 Profile Picture
    tomy57 5 on at
    RE: How to use the events API

    Thank you a lot!! it works!

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: How to use the events API

    Hi tomy,

    The issue can be solved by adding a header value: Origin to headers.

    e.g:

    I whitelisted localhost:8080.

    pastedimage1611137016963v1.png

    In Postman, add Header: Origin to headers.

    pastedimage1611137085040v2.png

    Regards,

    Clofly

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,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans