Skip to main content


 

Symptoms



We are unable to install K2 app.
The problem is that we cannot go further that the Registration Wizard, there is an error message.
Here is attached the screenshot. It says access denied, can you please tell us the proper rights to perform the operation :
- if it is a SharePoint online site
- if it is a SharePoint onpremise site


Error: Access Denied. You do not have permission to perform this action or access this resource.


 

Diagnoses


N/A
 

Resolution

We advise to follow this approach to solve the issue:
1- Allocate that user the site collection admin rights (allows the new user to run the registration wizard on the site)
2- Make that user also a K2 Server Admin in the management site (it avoids lock out)
3- Within the management site ?Authentication?OAuth?Tokens (In K2 Designer, SystemManagementSecurityFormsManage OAuth Tokens, The URL will be: https://{K2RunTimeServer}/Runtime/Runtime/Form/Manage+OAuth+Tokens/ )
a. Delete the token WHERE Resource Type = ?Microsoft Online? AND Username= ?current global admin?
b. Delete the two other tokens WHERE Resource Type = ?Microsoft Online? AND Username=?Kuid? (For APPIT K2 online :http://community.k2.com/t5/K2-Appit/How-To-Get-your-KUID/m-p/89785#M299)
4- Open a new browser or Ingognito browser
5- Login to SharePoint online as the new global admin user
6- Run the registration wizard
a. The user will get the consent page
b. New token will be registered

If it doesn't not work, in order to investigate further, we ask you to install fiddler and test again the registration wizard. We recently fix this issue only when fiddler install and running, maybe because fiddler work like a local proxy.
If it doesn't not work, try to do the Registration Wizard from another network: it could be linked to network/proxy limitations.


In your case, you just follow the point 3a and it works.




 
Be the first to reply!

Reply