How to Re-consent SharePoint Online (K2 Five for SharePoint app with K2 On-Premises)

  • 16 February 2021
  • 0 replies
  • 108 views

Badge +2
 

How to manually reconfigure K2 for AAD using Microsoft Graph API

KB003671

PRODUCT
K2 Five, K2 Five for SharePoint app
BASED ON
K2 Five 5.x

Microsoft is deprecating Azure AD Graph API, and as of June 30th, 2020 stopped adding new features to the API. See these Microsoft articles for more information:

They strongly recommend upgrading to Microsoft Graph API to access Azure AD APIs as well as APIs from other Microsoft services. K2 resources requiring access to the https://graph.windows.net resource (AAD Graph), must be upgraded to access https://graph.microsoft.com (MS Graph) as part of the migration from AAD to MS Graph.

 

If your environment has SharePoint Online registered against Nintex K2 Five 5.x (K2 on-premises), you will need to follow this procedure when you migrate to MS Graph. This procedure involves running the K2 Five for SharePoint app Registration wizard and reactivating site collections in your SharePoint environment. For more information on the K2 Five for SharePoint app, see the K2 for SharePoint App Registration and Activation topic in the Nintex K2 Installation and Configuration Guide.

If you have not applied the correct Fix Pack / Cumulative Update for your system, you do not need to perform these steps.

Procedure

Follow these steps to migrate your SharePoint Online instance to MS Graph.

  1. Install the correct Fix Pack / Cumulative Update for your system.
  2. Navigate to your SharePoint Online App Catalog.
  3. Click the K2 Five for SharePoint App.
  4. Click Registration Wizard.
    22150i818A74998AB760BA.png
  5. When the Registration Wizard opens, check that your environment site URL is correct and click Next to continue.
    22151iF76C5D6A5B88C301.png
  6. If you are prompted for your tenant admin credentials, sign in to continue.
    22152i275A39364BE04085.png
  7. Review the permissions and click Accept to continue. This completes registration.
    22153i69B291ECA1F84CA2.png
  8. Click Finish to navigate back to the K2 five for SharePoint app.
  9. Click Manage App Activations, on the Site Collections Activation page, specify the site collection you need to update, and click Activate. For example:
    22154iBC4530B2CC21C0C4.png
  10. On the Activate Site Collection page, a dialog opens with a click-here link.
    22155iC07073795D64490E.png
    Clicking the link generates a token and after that shows the Authorization Successful page in a new browser tab. Close that tab to go back to the previous page.
    22156iD10C23BA6C76A73C.png
  11. Click OK on the dialog. The Activate Site Collection page should now look like this:
    22157iFC4716D699B6C9D2.png
  12. Although the site collection was previously activated, you need to reactivate it because of the migration. Click Activate All to reactivate your site collection. The SmartForms Pages Upload dialog shows, enter your admin info, and click OK to continue.
    22158iB791C4CD669AADA5.png

The permissions re-consent is now finished. Click the Close button to complete this process.


0 replies

Be the first to reply!

Reply