You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
This component uses the REST API to fetch users and groups from SharePoint Online. One single call is done to get all the users and groups from each site collection url specified on the connector configuration. All users and groups information is cached.
Note: The SharePoint Online group expansion will only return users and groups inside SharePoint. To get the Azure AD group information, you need to install the Azure AD Group Expander.
SharePoint Online Group Expansion |
---|
Factory Name | com.searchtechnologies.aspire:aspire-sharepointonline-scanner |
---|
subType | scanner |
---|
Inputs | A Job containing a group expansion request |
---|
Outputs | A Job containing a group expansion result |
---|
Configuration
This section lists all configuration parameters available to configure the SharePoint Online Group Expansion component.
Element | Type | Default | Description |
---|
username | string | | Username used to authenticate against SharePoint. |
password | string | N/A | Password used to authenticate against SharePoint. |
cacheTimeout | long | 1800000 (=30 mins) | The cache timeout in ms. |
siteCollectionsToScan/siteCollectionUrl | string | | URLs of site collections from which groups will be gathered (more that one allowed). |
groupPrefixSeparator | string | @ | The separator inserted between the site URL and the SharePoint group name when extracting groups from sites. |
Example Configuration
<component name="GroupExpansionScheduler" subType="default" factoryName="aspire-scheduler">
<debug>${debug}</debug>
<schedules>
<schedule name="GECache" enabled="true">
<cron>${geSchedule}</cron>
<event>onGECache</event>
<job>
<![CDATA[
<doc actionProperties="cacheGroups">
<routingTable>
<SharePointOnlineConnector>
<properties>
<connectorSource>
<domain>QA</domain>
<username>spadmin</username>
<groupPrefixSeparator>@</groupPrefixSeparator>
<siteCollectionsToScan>
<siteCollectionUrl>http://10.10.21.127/sites/aspire</siteCollectionUrl>
</siteCollectionsToScan>
<password>encrypted:562E81591F85B858E5A5D3876F9C9FDB</password>
</connectorSource>
</properties>
</SharePointOnlineConnector>
</routingTable>
<displayName>SharePointOnlineConnector</displayName>
</doc>
]]>
</job>
</schedule>
</schedules>
<branches>
<branch event="onGECache" pipelineManager="Main" />
</branches>
</component>