Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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.


share|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

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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