Wednesday, October 26, 2011

SharePoint 2010 - The Security Token Service is not available


After installing SharePoint Foundation 2010 I noticed a warning in the Central Admin > Review problems and solutions report that the Security Token Service is not available.

The Security Token Service is not available.
The Security Token Service is not issuing tokens. The service could be malfunctioning or in a bad state.
SPSecurityTokenService (SecurityTokenService)
I have found so many articles while search and it seems the problem is same but the resolution is deferent for all scenarios. For my scenario problem ended up being that the default configuration of the IIS Application Pools was set to 32-bit:

When SharePoint was installed all of the application pool accounts were added with 32-Bit enabled which prevented the SharePoint application pools from starting. I had corrected this for the Central Admin site and also the root SharePoint site but the application pools for the Security Token Service were still set to use the 32-Bit application which was preventing the service from starting.
Changing this setting in each of the application pools (there were several created so check them all) fixed the issue and then the warning went away.

No comments: