Skip to main content

Notifications

Announcements

No record found.

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

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

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,994 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans