Skip to main content
Nintex Community Menu Bar

Granting Access to a Workflow generates error an in Office365

  • March 26, 2021
  • 0 replies
  • 40 views

Forum|alt.badge.img+8

Issue

When attempting to grant access to a workflow from within SharePoint Workflow designer for Office 365, the following error message appears: "Something Went Wrong" 

 

Resolution

Please follow the steps below:

1. Navigate to the site URL that you are trying to trust ( e.g. https://m365x314721-cdad5d5d9abf7d.sharepoint.com/sites/HR2) 
2. Navigate to Workflow App ID from Site Setting > App Permission. We need the App ID from the Workflow and NOT the Nintex Workflow. The app ID is between ms.sp.ext| and the @ symbol, for example: db8f9118-29ec-4d64-8630-521df24c9f32 (please double check and copy paste the value to make sure it is as expected) 
3. Once we have the URL and the App ID, add them to the below URL, replacing the values SiteAddress and AppID with respective values.: 
{SiteAddress}/_layouts/15/OAuthAuthorize.aspx?client_id={AppID} &scope=AllProfiles.Read&response_type=code 
4. Following the example above the combination between site URL and app id it will look like this (please double check again from your side both Site URL and App ID to make sure it's match) 
https://m365x314721-cdad5d5d9abf7d.sharepoint.com/sites/HR2/_layouts/15/OAuthAuthorize.aspx?client_id=7385a96c-3fcf-40a1-b709-fa092a3052ed&scope=AllProfiles.Read&response_type=code 
5. Finally navigate to the link and you will see the standard Trust page to allowing you to trust workflow engine to access User Profile Service to get manager details.