I’ve been testing an UAG setup where the trunk is either authenticated using Active Directory or Active Directory Federation Services. For this particular setup I had both configured some months ago. Now I wanted to reconfigure my trunk from AD to ADFS again. When I tried to activate the configuration I was greeted with the following error:
In words: Failed to run FedUtil from location C:\Program Files\Microsoft Forefront Unified Access Gateway\Utils\ConfigMgr\Fedutil.exe with parameters /u "C:\Program Files\Microsoft Forefront Unified Access Gateway\von\InternalSite\ADFSv2Sites\secure\web.config".
In the event log I saw the above error. Now I started trying the most obvious things like a reboot, but all in vain. I also tried creating a completely new trunk, but that didn’t work out either. Finally I started thinking that some patch was being uncool. I verified the updates and I saw a patch round had occurred a few days ago. I uninstalled all patch from that day, and after a reboot I was able to activate the configuration again! Now you’re probably hoping for me to tell which specific patch is being the culprit? Well for now I don’t know that yet… But here’s the list of patched I uninstalled:
- http://support.microsoft.com/?kbid=2524478
- http://support.microsoft.com/?kbid=2603469
- http://support.microsoft.com/?kbid=2604115
- http://support.microsoft.com/?kbid=2608658
- http://support.microsoft.com/?kbid=2621146
- http://support.microsoft.com/?kbid=2621440
- http://support.microsoft.com/?kbid=2637518
- http://support.microsoft.com/?kbid=2639308
- http://support.microsoft.com/?kbid=2647753
- http://support.microsoft.com/?kbid=2653956
- http://support.microsoft.com/?kbid=2655992
- http://support.microsoft.com/?kbid=2656373
- http://support.microsoft.com/?kbid=2656411
- http://support.microsoft.com/?kbid=2658846
- http://support.microsoft.com/?kbid=2659262
- http://support.microsoft.com/?kbid=2667402
- http://support.microsoft.com/?kbid=2676562
- http://support.microsoft.com/?kbid=2677070
- http://support.microsoft.com/?kbid=2679255
- http://support.microsoft.com/?kbid=2685939
- http://support.microsoft.com/?kbid=2686831
- http://support.microsoft.com/?kbid=2690533
- http://support.microsoft.com/?kbid=2691442
- http://support.microsoft.com/?kbid=2698365
- http://support.microsoft.com/?kbid=2698707
- http://support.microsoft.com/?kbid=2699779
- http://support.microsoft.com/?kbid=2705219
- http://support.microsoft.com/?kbid=2709630
- http://support.microsoft.com/?kbid=2709715
- http://support.microsoft.com/?kbid=2709981
- http://support.microsoft.com/?kbid=2712808
- http://support.microsoft.com/?kbid=2719857
- http://support.microsoft.com/?kbid=2719985
- http://support.microsoft.com/?kbid=2729094
- http://support.microsoft.com/?kbid=2731847
- http://support.microsoft.com/?kbid=2732052
- http://support.microsoft.com/?kbid=2735855
- http://support.microsoft.com/?kbid=2741355
There are a lot…. Good luck! I still might have hit something else, but I sure did try a few reboots before actually going the uninstall-patches route… And that one definitely did it for me.
4 Response to UAG: Failed to run FedUtil when activating configuration
Hello Thomas,
facing the same issue, did you ever find out which one was the problem maker?
Andreas
Nope, just uninstalled the patches and moved on. Besides that, I'm no longer using claims authN for the trunks so I shouldn't have this anyhow...
Hi All,
I ran into the same issue, after loads of troubleshooting, and rolling back some KB-articles, still no succes.
After i finally compared Route tables (route print) between a working and the not working machine a difference was found in the routing to the proxy server for Internet access.
This Internet Access is used for CRL checking, and retrieving FederationMetadata from the STS.
After correcting the route table on the affected UAG, I ran the Admin -> Network Interface wizard from the UAG Managment. Also here were differences in the "Internal Network IP Address Range". I corrected the configuration here as well.
Result was that the ADFS Authentication provider in UAG no longer complained that the tokensign certificate could not be verfied (CRL checking) and the FederationMetaData of the ADFS 2.0 server could be retrieved using the URL.
So in the end I suspect the wrongly configured Network configuration on the UAG and with that the Internal Network IP Addresses.
Hope it helps people.
Thanks
Marc,
Thanks for sharing this info. It really scares me how much I run into the CRL related issues lately. I think a lot of server environments don't have direct access to the internet, and this causing all those CRL retrievals to timeout. Here's some "workarounds" for ADFS and SharePoint related issues:
http://joelblogs.co.uk/2011/09/20/certificate-revocation-list-check-and-sharepoint-2010-without-an-internet-connection/
http://blog.msresource.net/2012/09/20/the-service-did-not-respond-to-the-start-or-control-request-in-a-timely-fashion/
Regards,
Thomas
Add Your Comment