SharePoint connection with two-factor authentication

Sylvain C. asked on January 9, 2026 20:39

Hello,

I am having a website developed using Kentico 13 and .Net Core and its current hotfix is 114.

We have been using the SharePoint Connections for years and it has been working fine until recently. To increase security, we had to upgrade the account that we used for the SharePoint connection to two-factor authentication. Since the connection stopped working.

The log for the time being is
Message: The property or field 'Url' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.

Exception type: Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException
Stack trace:
at Microsoft.SharePoint.Client.ClientObject.CheckUninitializedProperty(String propName)
at Microsoft.SharePoint.Client.Site.get_Url()
at CMS.SharePoint.SharePointOnlineSiteService.GetSiteUrl()
at CMSModules_SharePoint_FormControls_ConnectionTest.TestConnection() in C:\Users\...\CMS\CMSModules\SharePoint\FormControls\ConnectionTest.ascx.cs:line 104

The URL works fine so the issue is related to this new authentication. What do I need to do to be able to set up the Sharepoint Connection with a two-factor authentication account?

Thnak you,

Sylvain

Correct Answer

Juraj Ondrus answered on January 12, 2026 05:32

Duplicate of this thread

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.