Thursday 8 May 2014

An exception occurred when trying to issue security token: There was no endpoint listening SharePoint 2013

Recently I got stuck with the below issue while publishing workflow. When I checked the Event viewer got the following Error.

"An exception occurred when trying to issue security token: There was no endpoint listening athttp://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc/actas that could accept the message. This is often caused by an incorrect address or SOAP action ."
The issue is generally caused by the service application is not provision, and the application pool for the service application is not running.
To fix the issue, please follow these steps:
  1. Open Internet Information Manager(IIS)
  2. Go to "Application Pools"
  3. Select "SecurityTokenServiceApplicationPool", ensure its status is "Start".
  4. After that, open "SharePoint 2013 Management Shell". Run the following command:
     
    $sts = Get-SPServiceApplication | ?{$_ -match "Security"}
    $sts.Status
    $sts.Provision()
      
  5. Do IISReset

No comments:

Post a Comment