Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

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

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
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

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.