1

I am analyzing ADFS logs, which reference the SharePoint webs visited (via the wcontext parameter) but do so via their GUID.

How do I translate a SharePoint site/web GUID into a URL?

Michael Broschat
  • 193
  • 3
  • 12

2 Answers2

1

There is no direct correlation between a GUID and a URL.

If you are looking for this information from a code-behind, you could get the SPWeb object from the GUID, and poll the .URL property from there.

~ED

EtherDragon
  • 172
  • 7
  • Thank you, that sounds reasonable. No, I'm analyzing the logs away from SharePoint, but the set of GUIDs is quite reasonable, and I presume I can write a PowerShell script to resolve the small set. Michael – Michael Broschat Jun 19 '10 at 12:50
  • Try stsadm -o enumallwebs If you have a set of sensible Content Database names - you should be able to match site GUID to content database, and thus, site collection. stsadm -o enumallwebs gives a detailed list of what subsites are found in a content database as well, each paired with it's GUID. You could conceivably pipe the output to an xml file for review. – EtherDragon Jun 22 '10 at 16:30
0

I used SharePoint Manager 2010 to find the GUID of a site I found in the event log. You can download it from spm.codeplex.com

Tom Resing
  • 199
  • 2
  • 9