We can RetrieveTotalRecordCount Function we can get the total number of records for an entity (works for more than 50000 records) For e.g. https://[orgname].crm.dynamics.com/api/data/v9.1/RetrieveTotalRecordCount(EntityNames=[‘lead’,’contact’,’account’,’incident’]) https://dreamingincrm.com/2019/07/22/getting-entity-record-counts/…
Continue Reading Nishant Rana’s Article on their blog
RetrieveTotalRecordCount function to get the total number of records in Dynamics 365
We can RetrieveTotalRecordCount Function we can get the total number of records for an entity (works for more than 50000 records) For e.g. https://[orgname].crm.dynamics.com/api/data/v9.1/RetrieveTotalRecordCount(EntityNames=[‘lead’,’contact’,’account’,’incident’]) https://dreamingincrm.com/2019/07/22/getting-entity-record-counts/ https://stackoverflow.com/questions/51543802/counting-all-rows-in-dynamics-crm-online-web-api-odata https://nishantrana.me/2020/05/27/different-ways-of-getting-record-count-total-in-dynamics-365/ Hope it helps..
Blog Syndicated with Nishant Rana’s Permission
More About This Author
Array
- Dyn365CE19 March 2024How to – use booking rules for validation checks in Dynamics 365 Field Service
- Dyn365CE12 March 2024Fixed – The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters exception in Plugin (Dataverse / Dynamics 365)
- Dyn365CE11 March 2024The ‘operationOptions’ property is not allowed on the trigger when the workflow contains actions of type ‘OpenApiConnection- Power Automate
- Dyn365CE6 March 2024Force Sync users from Azure AD Security Group / Microsoft 365 Group to Dataverse environment – Power Automate