Skip to main content Skip to complementary content

Office 365 SharePoint Metadata

The Office 365 SharePoint Metadata Connector enables you to access and fetch data from your Office 365 SharePoint repository and load it directly into your Qlik Sense app.

Qlik Sense Enterprise SaaS Government noteQlik Cloud Government users have additional Microsoft data sources to access government services. US Government data sources are named according to the environment they connect to, such as Office 365 SharePoint Metadata GCC High.

Limitations

  • The Office 365 SharePoint Metadata Connector does not support loading files from Office 365 SharePoint. You can use the Office 365 SharePoint storage provider connector to load files.

Ways to access your data

To access your Office 365 SharePoint data, you need to authenticate the connector with your Office 365 account credentials. After you create a connection, select Office 365 SharePoint Metadata as your data source, specify the Base URL for the connection, select the prompt/consent level, and select Authenticate. You are redirected to an Office 365 login page. Log in with your credentials to retrieve an authentication code, and enter it into the connector.

Information noteTo ensure continuous access, the refresh token is stored so it can be used to update the connection automatically. This is done to avoid timeouts and token expiration. If the connection is not used for 90 days, the token will expire and you must refresh authentication manually.

Creating a data source connection

Information noteWhen selecting the prompt/consent level, if you are an administrator, select Consent. If you are a user and your administrator has already consented on your behalf, select None. This setting may differ depending on the configuration.

Loading data from tables

After you authenticate the connector with your account credentials, use the tables to fetch your data. Below are use cases for some of the available tables:

Tables that can be loaded
Table Available In Description
SubSites Data Manager and Data Load Editor Fetches available subsites from a specified path.
Lists Data Manager and Data Load Editor Fetches available lists.
SiteUsers Data Manager and Data Load Editor Fetches available users from a specified site.
Groups Data Manager and Data Load Editor Fetches available groups.
Views Data Manager and Data Load Editor Fetches available views for the specified list ID, which can be retrieved using the Lists table.
UsersInGroup Data Load Editor Fetches available users in a user group specified by a group ID, which can be retrieved from the Groups table.
UserFromId Data Load Editor Fetches user details from a specified user ID.
ListItemsFromID Data Load Editor Fetches items from the specified list ID, which can be retrieved using the Lists table.
ItemsFromList Data Manager and Data Load Editor Fetches items from the specified list ID, which can be retrieved using the Lists table. Shows all custom fields and can show data according to the existing views.
GetDataFeed Data Load Editor Fetches a specified Data Feed.
ListFolders Data Manager and Data Load Editor Fetches a list of folders in the specified folder path.
ListFiles Data Manager and Data Load Editor Fetches a list of files in the specified folder path.

To select and load data from a table, enter the required table parameters and click Preview data. Required parameters are marked with an asterisk (*) in the dialog. The table fields are displayed under the Data preview tab. You can select fields individually by selecting the box beside each field name. Select Insert script after you have made your selection.

Creating a connection and selecting data

Reference - SharePoint REST API documentation

You can refer to the SharePoint REST API documentation to learn more about the requirements and restrictions imposed by the API.

Troubleshooting

You receive an error message that you have reached the API rate limit

Possible cause  

You have exceeded the API limits that are imposed by the SharePoint REST API.

Proposed action  

To reduce the impact of reaching the API rate limits, develop your app with the following in mind:

  • Extract only the data you need.
  • Reload one Office 365 SharePoint-based application at a time.
  • Ensure that loops in your script that make API calls will not result in infinite loops.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!