Extract GUID from a record in Dynamics365’s New User Interface (UI)

Easily extract a GUID from a record in Microsoft Dynamics365's New User Interface (UI) using a bookmark in your browser

The lifeblood to any record in Dynamics365 is its GUID or Globally Unique Identifier. Unfortunately, Dynamics365 does not provide an easy way to view the GUID for a particular record without using tools inside XRMToolbox.

Thankfully, Dynamic365’s new UI makes this a little easier by providing the GUID of the currently viewed record in the browser URL where it previously didn’t in its legacy interface. Look for the &id= followed by the GUID of the record in your url. If you find this to be tedious, or if you access GUID’s frequently, you can easily set up a Bookmark in your browser to open a prompt window that presents the GUID and allows you to copy it.

Open up the Bookmarks Manager in any browser and make a new Bookmark – instead of entering a URL, copy and paste the JavaScript below and save. Once in place, you can trigger the action by clicking the Bookmark.

javascript: (window.prompt("CRM Record GUID is :", (new URLSearchParams(window.location.search)).get('id')))

Last updated on by Joshua Holdeman

About the author

Joshua Holdeman is a DevOps Engineer, Sr. Software Engineer, and Digital Marketing Consultant. With over 12 years in the industry and backed by hundreds of digital marketing projects and websites developed under his direction, he brings experience and knowledge allowing for the recommendation of high-impact business software, tools, and programs to help non-profit organizations, small businesses, and entrepreneurs to launch or grow their business. Before starting this blog, Josh was the Sr. Software Engineer for a world leader in a marketing and graphic communications franchise system.

Leave a Reply