Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Dynamics 365 - Slow response from Rest API

(1) ShareShare
ReportReport
Posted on by 31

Hi Guys,

Our application is using MSD as a back-end and front-end is in Angular. We're using Rest APIs to manage CRUD operation in MSD. 

Recently, we're facing slowness randomly in API responses. APIs like, /api/data/v9.0/WhoAmI() - took 10+ seconds, api/data/v9.0/transactioncurrencies took 5 seconds. one of custom entities containing only 3 records took 5-6 seconds. This is not happening consistently - it's a random behavior but creates issue while loading our application i.e. one call doesn't return response and blocks rest.

Read a couple of docs but I couldn't find the way to trace the API requests. Security is not complex - just 2 level setup.

Can someone help me, how do I know the root cause of this slowness? Can someone guide me how to trace request or measure performance etc.

Thanks in advance!

Regards,

Niyati

  • bondlela Profile Picture
    88 on at
    Dynamics 365 - Slow response from Rest API
    We see a similar issue with our API Rest calls to D365 finance and operations. We are cloud-hosted. Any suggestions on how to resolve this issue? 
  • Goutham A Profile Picture
    on at
    RE: Dynamics 365 - Slow response from Rest API

    Hi Niyati, did you get this resolved?

    We are facing similar issues when for some instances a particular call(say retrieve system users) is taking more time(>7 seconds) but this usually completes in 300 milliseconds(for most calls). I could not understand why only some API calls are taking more execution time intermittently

  • Community Member Profile Picture
    on at
    RE: Dynamics 365 - Slow response from Rest API

    The symptoms you are describing suggest that you are doing the calls synchronously? If that's the case, one call will block anything after it and cause the UI to freeze and show that warning. Can you please check on that?

  • Address Profile Picture
    31 on at
    RE: Dynamics 365 - Slow response from Rest API

    Thanks Omar for the response.

    Our MSD instance is online CRM. Slowness appear in the application, so this is how API calls are executed:

    /WhoAmI()

    /custom_entity1

    /usersettingscollection

    /transactioncurrencies

    /custom_entity2

    /custom_entity3

    /custom_entity4

    /uoms

    /custom_entity5

    /custom_entity6

    /privileges

    (Custom entities mentioned here have less than 10 data)

    Randomly one of API calls get stuck somehow, which shows status "Pending" and blocks other calls. Sometimes API call doesn't return and browser shows warning of non-response like "Exit" or "Cancel".

    Hope this helps.

    Regards,

    Niyati

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Dynamics 365 - Slow response from Rest API

    Hi,

    Is this system that exposes the API's online or on-premise? does the slowness appear on the system itself or just the API's?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,017 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans