Getting started
To get started with the connector, do the following:
-
Ensure that you have at least Java 7 installed.
-
Download the connector package distribution file from Software Distribution.
-
Copy a valid license.properties file to the directory that contains the cq-quickstart-6.4.0.jar file.
-
Double-click the .jar file to start AEM, or start it from the command line.
-
Install the connector package from Package Manager.
-
Configure the connector options.
Installing SharePoint connector
The connector is a content package that facilitates easy installation. Install the package using Package Manager, and then set the SharePoint server URL
and other configuration options. The SharePoint content is available in the AEM repository.
Installation requirements
The connector requires the following:
- Java Runtime Environment 1.7 or later
- SharePoint Web Services available through the network
- SharePoint server URL
- User credentials and permissions for CRX and SharePoint repositories
- Supported platforms
The SharePoint connector is available for downloading from Software Distribution.
Supported Platforms
The connector supports the following:
-
AEM versions:
- AEM 6.4, 6.3
-
Microsoft SharePoint versions:
- Microsoft Office SharePoint Server (MOSS) 2010
- Microsoft Office SharePoint Server (MOSS) 2013
-
If you require support for custom deployments of the connector (OEM, special requirements, customized authentication methods), contact the Adobe office for your region.
Standard installation
Software Distribution is used to distribute product features, examples, and hot fixes. For details, see the Software Distribution documentation.
Integrating with AEM
To install the connector content package.
-
Open an Adobe Support ticket to request for the connector featurepack.
-
Download the package when it is available and then open Package Manager for your AEM instance.
-
Click Install from the package description page.
-
From the Install Package dialog, click Install.
Note: Make sure that you are logged-in as administrator.
-
When the package is installed, click Close.
Configuring SharePoint connector
After you install the SharePoint connector, configure the application and the SharePoint layers for the connector.
Set the SharePoint server URL to make your SharePoint repository JCR compliant. You can set extra parameters to configure the connection with the SharePoint server. In addition, configure authentication with the SharePoint connector.
Configuring the connection with the SharePoint server
To set the URL of the SharePoint server and advanced options, perform these steps:
- Navigate to the OSGi Management Console: http://localhost:4502/system/console/configMgr.
- Search for the Day JCR Connector for Microsoft Sharepoint bundle.
- Edit the configuration values.
- Set the SharePoint Server URL as the value of Workspaces.
- Click Save.
‘Workspaces’ and ‘Default Workspace Name’ parameters:
By default the connector exposes a single JCR workspace. The SharePoint server which is exposed by this workspace is set through the ‘Sharepoint Server URL’ configuration parameter.
The connector can also be configured for multiple workspaces. In this case, each workspace is associated with the URL of the respective SharePoint server that is exposed through the workspace. To add a workspace, add a workspace definition to the Workspaces parameter. A workspace definition has the following format:<name>
= <url>
where<name>
is the name of the JCR workspace and<url>
is the URL of the SharePoint server for that workspace.
In AEM, perform one more step apart from above configuration steps. Allow list the ‘com.day.cq.dam.cq-dam-jcr-connectors’ bundle.
To allow list bundles in AEM, perform the following steps:
- Navigate to the OSGi Management Console: http://localhost:4502/system/console/configMgr.
- Search for “Apache Sling Login Admin Whitelist” service.
- Select Bypass the whitelist.
- Add
com.day.cq.dam.cq-dam-jcr-connectors
in whitelist bundles default - Click Save.
For additional information around authentication-related parameters, see Authentication.
Verifying the Sharepoint setup
After you configure the connector, verify the following:
- SharePoint server runs, and the web services are accessible to the connector instance
- SharePoint user credentials are valid and the user has necessary SharePoint permissions
- The connector is installed and configured properly
Configuring DAM Sync with the SharePoint server
To synchronize the SharePoint Assets with AEM, perform the following steps:
- Navigate to the OSGi Management Console: http://localhost:4502/system/console/configMgr.
- Search for “Default DAMAssetSynchronization” service.
- Edit the configuration values.
- Set the user name and the corresponding Password of the user having access on the SharePoint site.
- Click Save.
Enable the DAM Sync Service, which is disabled by default:
- Navigate to the OSGi Web Console Components: http://localhost:4502/system/console/components
- Search for “com.day.cq.dam.jcrconnectors.impl.AssetSynchronizationService.”
- Click Enable.
Optionally, you can configure the Synchronization delay between different synchronization cycles:
- Navigate to the OSGi Management Console: http://localhost:4502/system/console/configMgr
- Search for “DAY CQ DAM JCR Connector Asset Synchronization Service.”
- Edit the configuration values.
- Set the value of the Synchronization Period (in seconds).
- Click Save.
Configuring Authentication
Sharepoint includes the Classic and Claims Based authentication methods, both of which support the following authentication types:
- Basic
- Forms-Based
In particular, the following types of authentication are available:
- Classic-Basic
- Classic-Forms-based
- Claims-Basic
- Claims-Forms-based
The AEM JCR Connector for Microsoft SharePoint 2010 and Microsoft SharePoint 2013, version 4.0. supports Claims-based authentication (which is suggested by Microsoft), which operates in the following modes:
- Basic/NTLM authentication: The connector first tries to connect using basic authentication. If not available, it switches to NTLM-based authentication.
- Forms-based authentication: Sharepoint validates users based on credentials that users type in a login form (typically a web page). The system issues a token for authenticated requests that contains a key for reestablishing the identity for subsequent requests.
Configuring Forms Based Authentication
- Click OSGI > Configuration
- Search “Day JCR Connector for Microsoft Sharepoint”
- Click “Edit the configuration values”
- Set the value of ‘Sharepoint Connection Factory’ as ‘com.day.crx.spi.sharepoint.security.FormsBasedAuthenticationConnectionFactory’
- Click Save.
Configuring Basic Authentication (Windows)
- Disable Token Authentication.
- Go to http://localhost:4502/system/console/bundles.
- Click OSGI > Configuration.
- Search for Day JCR Connector for Microsoft Sharepoint.
- Click
Edit the configuration values
. - Set the value of Sharepoint Connection Factory to
com.day.crx.spi.sharepoint.security.WindowsAuthenticationConnectionFactory
. - Click Save.
Only a user who is authenticated on both AEM and SharePoint can access the SharePoint content through the connector.
You can also use the connector extension for authentication to create a custom authentication module, which, for example, maps access by AEM users to specific SharePoint users. Create AEM users corresponding to SharePoint users (user name and password should match) to be able to see SharePoint content mapped to the connector instance.
To create a user in AEM:
- Login to http://localhost:9502/with the admin user.
- Click Tools.
- Click Security.
- Click Users.
- Click Create User.
- Provide the user ID (User name having access on SharePoint).
- Provide the corresponding password.
- Click the Green tick symbol to create the user.
To add the user in the admin group:
- Go to Group Administration.
- Click the ‘a’ node.
- Click ‘administrators’.
- Type the user ID create above in the text box before Browse button.
- Click the Green tick symbol to add the user to admin group.
Disable Token Authentication
-
Download and install the package
basic auth
.zip
from Software Distribution. -
Close Quickstart.
-
Open the file \crx-quickstart\repository\repository.xml.
-
Find the tag
<LoginModule class="com.day.crx.core.CRXLoginModule"> ... </LoginModule>.
-
Insert the tag
<param name="disableTokenAuth" value="true"/>
inside the tag mentioned in step 4. -
Save and close the xml file.
-
Restart QuickStart and log in with your credentials.
Supporting different authentication methods of the SharePoint server
In its standard version, the connector supports the standard IIS Windows authentication (Basic) and Forms-based authentication (token based). The other authentication methods can be supported through the extensibility mechanism.
The following steps provide guidelines around extending the standard authentication to support various authentication methods of the SharePoint server:
-
Implement
com.day.crx.spi.sharepoint.security.SharepointConnectionFactory
to handle the client side of your specific authentication process. -
Install the
SharepointConnectionFactory
implementation as a fragment bundle with fragment hostcom.day.crx.spi.crx2sharepoint-bundle
.When using Maven, adapt the following configuration of the
maven-bundle-plugin
to the requirements of your project:<plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <configuration> <instructions> <Export-Package /> <Private-Package> <!-- your private package here --> </Private-Package> <Fragment-Host> com.day.crx.spi.crx2sharepoint-bundle </Fragment-Host> </instructions> </configuration> </plugin>
-
Register the
SharepointConnectionFactory
implementation in the connector configuration. In the configuration window of the connector, click Advanced options. In the for Sharepoint Connection Factory field, specify the name of the implementationcom.day.crx.spi.sharepoint.auth.CustomConnectionFactory
. -
Restart the connector.
Experience Manager
Adobe Experience Manager at Summit
Register for these admin sessions:
- Elevate and Empower Teams with Agentic AI for Exceptional Experiences (attend online)
- How Adobe Uses GenStudio to Supercharge Its Global Marketing Organization
- Unlocking Content at Scale with Havas POP and Adobe GenStudio
- Revolutionizing Pharma Content Velocity & MLR with Automation & AI
- 3 Pillars of Purpose-driven Experiences: Trust, Data, and GenAI
Connect with Experience League at Summit!
Get front-row access to top sessions, hands-on activities, and networking—wherever you are!
Learn more