I have a SharePoint online site and a local SharePoint server with user accounts that i want to import to the the online SharePoint site. I know about Azure Active Directory Connect tool that used for connecting SharePoint online, but is there any other way to connect SharePoint with local server like web hooks and Rest API calls to local Active Directory to synchronize user accounts between SharePoint online and Active Directory ?

  • What are you attempting to accomplish? You haven't asked a complete question. – Trevor Seward Jul 5 '17 at 0:51
  • I'm trying to synchronize Sharepoint online with local Active directory using rest API calls. – Haridu Jul 5 '17 at 1:02
  • Synchronizing what? Additional properties? Entire profiles? What is your goal? – Trevor Seward Jul 5 '17 at 1:02
  • Synchronize entire profiles from Active Directory to SharePoint Online so the users stored in Active Directory can use SharePoint online. – Haridu Jul 5 '17 at 1:16

The User Profile must be linked to an existing object in Azure AD as the process for creating a Profile requires you to identify an existing object to bind to. For updating properties that are outside of Azure AD -> SPO sync, use the User Profile Batch Update API to do this in bulk. This is CSOM only, and must run on the local network containing the Domain Controller(s) as Active Directory (or LDAP in general) should not be exposed to an endpoint over the Internet due to creating significant security risks.

Another thing to keep in mind is that Azure AD is where objects are stored/is the identity store; a User Profile in SharePoint [Online] is not an identity store, it is simply a description of the object (user) that can be leveraged in other areas of SharePoint.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.