arokiaelias
Novice

Registration wizard in share point for k2 App is failing

Hi Team,

we have encountererd the Error "The K2 URL is not Valid" occurs in the K2 for Sharepoint App Registration Wizard on SharePoint 2013 on premises new setup

401 unauthorised
Request URL: https://xxxx.xx.xxxx.com/Autodiscover/Autodiscover?callback=autodiscoverInfo&_=1548083836420
404 error
Request URL: https://xxxxxxxxxxxxxxx/sites/appcatalog/K2forSharePoint/Scripts/jquery.min.map

kindly advise what needs to be done

 

Thanks 

 

Regards,

Mary

0 Kudos
3 Replies
khanh1
Apprentice

Re: Registration wizard in share point for k2 App is failing

Hi,


 


I have seen a couple times that it can be related to browser or the K2 app can't hit the autodiscover url. This url contains information of your K2 environment. Can you try with a different browser (i.e. Chrome in incognito mode). Outside of K2 app, can you try to browse to the auto discover url? (i.e.  https://k2_site_url.com/Autodiscover/Autodiscover)


 

0 Kudos
ElvisJacob
Apprentice

Re: Registration wizard in share point for k2 App is failing

Hi Arokiaelias


 


Go to IIS>Expand database>Expand Sites>Click Portal>under Portal double Click "Authorization Rules">Click All Users to be highlighted>On the righted side Click "Add Allow Rule...">dilogbox called "Add allow Athorization Rule" will appear>Check "All Users" radiobox and click Ok.


8192i1A763089991AD866.png


8194iC77ED276CC59B7F9.png


 


Regards


Elvis

0 Kudos
BesM
Apprentice

Re: Registration wizard in share point for k2 App is failing

Hi  @arokiaelias,


 


ASP.NET Impersonation was turned on under the Authentication settings for the K2 AutoDiscover site in IIS. After turning it off and performing an IISRESET, the AutoDiscover should works as expected, and the error "The K2 URL is not Valid" should no longer appear.


 


Regards,


BesM


 


 

0 Kudos