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

Cindy Mello 62 Reputation points
2021-04-01T22:58:56.977+00:00

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
SharePoint Workflow
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Workflow: An orchestrated and repeatable pattern of business activity, enabling data transformation, service provision, and information retrieval.
508 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jerry Xu-MSFT 7,921 Reputation points
    2021-04-02T02:28:38.09+00:00

    Hi, @Anonymous ,

    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://learn.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.


0 additional answers

Sort by: Most helpful