mirian_navas
Scholar

Unauthorized request for connection in o365 action

Jump to solution

I'm using the new connection functionality, but I always get the same result: "Unauthorized connection request"

He chose to simplify everything and have him only update an item (with the action of o365).

  • The users that launch the workflow of the test the administrators of the collection.
  • The user who created the connection is the administrator of the collection

The WF: 

The connection: 

The result: 

Do I have to activate something? Should I do some additional configuration?

0 Kudos
Reply
6 Replies
sakhatri
Novice

Re: Unauthorized request for connection in o365 action

Jump to solution

Hi Mirian Raquel‌,

The above issue might be due to the incorrect SharePoint Online Tenant URL , make sure it is in this format - https://tenant.sharepoint.com/

Regards,

Saud Khatri

View solution in original post

Reply
il_liam
Novice

Re: Unauthorized request for connection in o365 action

Jump to solution

Hi Saud Khatri‌,

I am also having this issue, URL is already formatted as suggested:

Older actions in other workflows that do not use credentials manager are still working.

Currently I am trying to terminate a workflow, but this action usually returns ServiceNoResponse instantly (took a few minutes to fail on one attempt).

I configured this connection using Chrome. Initially I tried IE but ran into another known bug where it offered a file to download rather than create the connection.

Workflow has been published/run in Chrome and IE, no difference.

Probably an unrelated bug, but I also had issues with the connections clearing themselves from actions. Have not been able to reproduce this at will, but sometimes when I go to publish a workflow an error pops up because all start/terminate workflow actions do not have connections and I have to mass reapply these with the "Apply connection to all" checkbox again.

0 Kudos
Reply
il_liam
Novice

Re: Unauthorized request for connection in o365 action

Jump to solution

I have resolved my issue.

The Connection Manager errors (ServiceNoResponse, Unauthorized request for connection) were red herrings. The issue was in the Terminate Workflow Instance action which had been passed the Item URL rather than the Site URL.

0 Kudos
Reply
Vel28
Scholar

Re: Unauthorized request for connection in o365 action

Jump to solution

Thanks!

I actually did the same mistake and no matter how many times I checked the action configuration, I couldn't spot the issue. 

0 Kudos
Reply
hagarm
Scholar

Re: Unauthorized request for connection in o365 action

Jump to solution
I am having the same issue. I am using the correct Tenant url. Any other issues cause this error?
0 Kudos
Reply
ml2
Scholar

Re: Unauthorized request for connection in o365 action

Jump to solution

I have a similar problem with a Web Request. The service I am calling might be temporarily down or just slow to start up. I then receive NoServiceResponse and the Workflow suspends. The Workflow History section shows "The operation has timed out" and that's it. I couldn't find any way to react to this error. I never get a Http Status code or anything I could check. If I am lucky I can resume the workflow manually but it won't retry the failed request. Is there any way to catch this error?

0 Kudos
Reply