question

cindymello-1540 avatar image
0 Votes"
cindymello-1540 asked saldana-msft edited

SP 2013 designer app step error unauthorized on a post workflow id has full control

I have 2019 on prem sp library list workflow. simple break item inheritance one step
App step enabled in SP designer, set up right
site features

SharePoint Workflow Unauthorized HTTP 401

these are done
The App Management Application Service has been configured to be able to grant full control permission to the SharePoint workflow.
The SharePoint Workflow Manager has been configured properly to be able to activate “Workflows can use app permissions” feature.

got the guid for Workflow
add full control
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="https://intranet.cmsu.com/sites/wftest" Right="FullControl" />
</AppPermissionRequests>

what am I missing?

Cindy

sharepoint-workflow
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JerryXu-MSFT avatar image
0 Votes"
JerryXu-MSFT answered cindymello-1540 commented

Hi, @cindymello-1540 ,

It seems the root cause is the Permission Request XML you are using. There is no need to change the Scope your current site. Just copy/paste exactly as it appears.
83857-image.png

Reference:https://docs.microsoft.com/en-us/sharepoint/dev/general-development/create-a-workflow-with-elevated-permissions-by-using-the-sharepoint-workflo


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image.png (20.9 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yes thank you very much, just leaving the scope exactly as it is works, haha seems so counter intuitive. I would not have believed it. Thank you

0 Votes 0 ·