Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

How does the Azure Event Hub work with Microsoft Portals?

Posted on by 1,806 Most Valuable Professional

I'm working on a portal (version 8.3.3.133 ). Data from CRM seems to be updating in the portal pretty much immediately, apart from when a portal comment (activity) is added in CRM. The only way it seems to show is if the portal is restarted. 

I thought I had found the answer with web notifications, but then found that they shouldn't be needed with the Microsoft Portals and Dynamics 365 online.  

https://community.adxstudio.com/products/adxstudio-portals/documentation/developers-guide/cache/web-notifications/

In reading further, it seems that the version of the portal I am using uses an Azure Event Hub. Does anyone know anything more about this? The portal is currently set up in a SANDBOX installation and not yet moved to a PRODUCTION installation. Does that make any difference? Is it something I would have access to and need to make changes to in order to make sure the portal comments show up in a more 'real time' fashion? It's not realistic to expect someone to restart the portal each time a new portal comment activity is created in CRM so that it shows up to the portal user.

What might I be missing?

*This post is locked for comments

  • Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: How does the Azure Event Hub work with Microsoft Portals?

    yeah we faced the same problem & MS cant resolve it

  • Megan V. Walker Profile Picture
    Megan V. Walker 1,806 Most Valuable Professional on at
    RE: How does the Azure Event Hub work with Microsoft Portals?

    Hi Syed, I sat and timed this a few times, and it seemed to update between 5 and 10 minutes. Thanks for taking time to respond!

  • Megan V. Walker Profile Picture
    Megan V. Walker 1,806 Most Valuable Professional on at
    RE: How does the Azure Event Hub work with Microsoft Portals?

    Hi Ravi, thanks for the response. I am using the Portal Comments on a custom entity. It seems to be updating between 5 and 10 mins, which will hopefully be fast enough for my client.

  • Verified answer
    Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: How does the Azure Event Hub work with Microsoft Portals?

    Hi Megan,

    Any event or activity associated to azure will take some times to get reflected in the crm as well in portal. For example we used survey which took some times more than 5 min to reflect in the portal. Other activities may happen immediately.. just make sure that "enable change tracking " is ticked in the respective entity. In addition you no need to restart portal all the times. What you need is just to clear the cache. Pls follow my blog post to clear the portal cache.

    mscrm365.blogspot.sg/.../how-to-clear-dynamics-crm-portal-cache.html

    Hope this helps.

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: How does the Azure Event Hub work with Microsoft Portals?

    Hi Megan,

    I remember I faced the same issue and it turned out to be the Portal bug. The workaround was to update the title of the case record.

    Can you see if the portal comment appears if you update the case title? If yes then you must be running into the same bug and would need the same workaround which I implemented.

    Let me know I can search for it my previous implementations.

    Hope this helps.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans