Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Export Audit Summary Report to Excel in MS CRM

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Here's to the folks who have been finding ways to export audit summary report from CRM. 

Apart from AuditExportManager tool in SDK and SSRS report , there is an another way through which you can pull out Audit report as excel. 

Steps to be followed :

1.Go to CRM Server 

2.Open SQL ->Connect to the respective database server and write the foll.query to retrieve the CRM users with Last Logon date

//--------Query---------//

select MAX(a.CreatedOn) as lastlogon, UserIDName
from Audit a
group by UserIdName
order by lastlogon desc

3.Execute the query and in Results tab below, in top left corner of results ,right click and save the results as "CSV file" . 

4.Now CSV version of report is ready, Open and in excel ->DataTab -> Data tools group-> Text to Columns -> Delimiter and Choose txt.file (later you can change to ".xlsx" format by renaming) . Highlighted tabs below.

Datatab.PNG

5.Audit Report can now be viewed in Excel format with quick steps .

Note: Query can be modified based on requirement .

Regards,

Logeshwari

*This post is locked for comments

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…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

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,387 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans