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?

link|improve this question

50% accept rate
feedback

2 Answers

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

link|improve this answer
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
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.