Project Online Workflow failing at multiple clients

%3CLINGO-SUB%20id%3D%22lingo-sub-2528403%22%20slang%3D%22en-US%22%3EProject%20Online%20Workflow%20failing%20at%20multiple%20clients%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2528403%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20getting%20issues%20at%20multiple%20clients%20where%20SharePoint%20Designer%20Workflows%20fail%20to%20start%20in%20Project%20Online.%20I%20tested%20and%20the%20same%20is%20happening%20on%20Contoso%20demo%20instance.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere%20is%20the%20error%20we%20are%20getting%20%E2%80%A6%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESystem.Net.WebException%3A%20The%20request%20was%20aborted%3A%20The%20request%20was%20canceled.%20---%26gt%3B%20System.InvalidOperationException%3A%20Failed%20to%20fetch%20an%20access%20token%20from%20the%20token%20service.%20For%20details%2C%20see%20the%20inner%20exception.%20---%26gt%3B%20System.Net.WebException%3A%20The%20remote%20server%20returned%20an%20error%3A%20(401)%20Unauthorized.%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20System.Net.HttpWebRequest.GetResponse()%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.FetchAccessToken(Uri%20stsUri%2C%20String%20targetServiceAudience%2C%20String%20authenticatorToken%2C%20HttpWebRequest%20request%2C%20TimeSpan%20timeout%2C%20EventTraceActivity%20eventTraceActivity%2C%20TimeSpan%26amp%3B%20expirationDuration)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B---%20End%20of%20inner%20exception%20stack%20trace%20---%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.FetchAccessToken(Uri%20stsUri%2C%20String%20targetServiceAudience%2C%20String%20authenticatorToken%2C%20HttpWebRequest%20request%2C%20TimeSpan%20timeout%2C%20EventTraceActivity%20eventTraceActivity%2C%20TimeSpan%26amp%3B%20expirationDuration)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.GetAccessTokenFromTokenService(OAuthS2SPrincipal%20client%2C%20OAuthS2SPrincipal%20targetServiceAudience%2C%20HttpWebRequest%20originalRequest%2C%20EventTraceActivity%20eventTraceActivity%2C%20TimeSpan%26amp%3B%20expirationDuration)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.GetAuthorization(OAuthS2SAuthenticationChallenge%5B%5D%20bearerChallenges%2C%20HttpWebRequest%20request%2C%20EventTraceActivity%20eventTraceActivity)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20Microsoft.Activities.Hosting.Security.OAuthS2SAuthenticationModule.AuthenticateInternal(String%20challenge%2C%20WebRequest%20request%2C%20OAuthS2SCredential%20credential%2C%20EventTraceActivity%20eventTraceActivity)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20Microsoft.Activities.Hosting.Security.OAuthS2SAuthenticationModule.Authenticate(String%20challenge%2C%20WebRequest%20request%2C%20ICredentials%20credentials)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20System.Net.AuthenticationManagerDefault.Authenticate(String%20challenge%2C%20WebRequest%20request%2C%20ICredentials%20credentials)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20System.Net.AuthenticationState.AttemptAuthenticate(HttpWebRequest%20httpWebRequest%2C%20ICredentials%20authInfo)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20System.Net.HttpWebRequest.CheckResubmitForAuth()%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20System.Net.HttpWebRequest.CheckResubmit(Exception%26amp%3B%20e%2C%20Boolean%26amp%3B%20disableUpload)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20System.Net.HttpWebRequest.DoSubmitRequestProcessing(Exception%26amp%3B%20exception)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20System.Net.HttpWebRequest.ProcessResponse()%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20System.Net.HttpWebRequest.SetResponse(CoreResponseData%20coreResponseData)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B---%20End%20of%20inner%20exception%20stack%20trace%20---%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20Microsoft.Workflow.Common.AsyncResult.End%5BTAsyncResult%5D(IAsyncResult%20result)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%26nbsp%3Bat%20Microsoft.Activities.Hosting.HostedHttpExtension.HttpRequestWorkItem.OnEndComplete(ScheduledWorkItemContext%20context%2C%20IAsyncResult%20result)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

We are getting issues at multiple clients where SharePoint Designer Workflows fail to start in Project Online. I tested and the same is happening on Contoso demo instance.

 

Here is the error we are getting …

 

System.Net.WebException: The request was aborted: The request was canceled. ---> System.InvalidOperationException: Failed to fetch an access token from the token service. For details, see the inner exception. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.FetchAccessToken(Uri stsUri, String targetServiceAudience, String authenticatorToken, HttpWebRequest request, TimeSpan timeout, EventTraceActivity eventTraceActivity, TimeSpan& expirationDuration)
   --- End of inner exception stack trace ---
   at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.FetchAccessToken(Uri stsUri, String targetServiceAudience, String authenticatorToken, HttpWebRequest request, TimeSpan timeout, EventTraceActivity eventTraceActivity, TimeSpan& expirationDuration)
   at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.GetAccessTokenFromTokenService(OAuthS2SPrincipal client, OAuthS2SPrincipal targetServiceAudience, HttpWebRequest originalRequest, EventTraceActivity eventTraceActivity, TimeSpan& expirationDuration)
   at Microsoft.Activities.Hosting.Security.OAuthS2SSecurityTokenServiceCredential.GetAuthorization(OAuthS2SAuthenticationChallenge[] bearerChallenges, HttpWebRequest request, EventTraceActivity eventTraceActivity)
   at Microsoft.Activities.Hosting.Security.OAuthS2SAuthenticationModule.AuthenticateInternal(String challenge, WebRequest request, OAuthS2SCredential credential, EventTraceActivity eventTraceActivity)
   at Microsoft.Activities.Hosting.Security.OAuthS2SAuthenticationModule.Authenticate(String challenge, WebRequest request, ICredentials credentials)
   at System.Net.AuthenticationManagerDefault.Authenticate(String challenge, WebRequest request, ICredentials credentials)
   at System.Net.AuthenticationState.AttemptAuthenticate(HttpWebRequest httpWebRequest, ICredentials authInfo)
   at System.Net.HttpWebRequest.CheckResubmitForAuth()
   at System.Net.HttpWebRequest.CheckResubmit(Exception& e, Boolean& disableUpload)
   at System.Net.HttpWebRequest.DoSubmitRequestProcessing(Exception& exception)
   at System.Net.HttpWebRequest.ProcessResponse()
   at System.Net.HttpWebRequest.SetResponse(CoreResponseData coreResponseData)
   --- End of inner exception stack trace ---
   at Microsoft.Workflow.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
   at Microsoft.Activities.Hosting.HostedHttpExtension.HttpRequestWorkItem.OnEndComplete(ScheduledWorkItemContext context, IAsyncResult result)

 

0 Replies