Contents:
Prerequisites
- OAuth 2.0 is supported for SharePoint Online, which is available on Microsoft Azure.
- OAuth 2.0 authentication must be enabled in the Dataprep by Trifacta Cloud. For more information, see Enable OAuth 2.0 Authentication.
Create OAuth 2.0 Client App in Azure
In the Azure console, you must create the client app.
Steps:
- Login to Azure: https://portal.azure.com/#home
- Select Azure Active Directory > App Registrations > New registration.
Specify the following fields:
Field Description Name The name of the app. Supported Account Types Select either:
Single tenant
Multi tenant
Redirect URI Specify the URL in the following format, depending your project or workspace login:
https://<Login_URL>/oauth2/callback
Example:
https://clouddataprep.com/oauth2/callback
- To create the new registration, click Register.
Overview tab:
NOTE: Copy the value for the Application (client) Id. This value must be applied in the Dataprep by Trifacta application.
Branding tab: (optional) Specify the following fields:
Field Description Name The name of the app should match the value you specified previously. Logo Upload a preferred logo for the app. Homepage URL Set this value to the following:
https://trifacta.com
Terms of Service URL Set this value to the following:
https://www.trifacta.com/terms-conditions/
Privacy Policy Set this value to the following:
https://www.trifacta.com/privacy-policy/
Publisher Domain Set this value to the following:
trifacta.com
MPN ID If you are a Microsoft Partner, you can specify your MPN ID.
- Certificates & Secrets tab: To create a new client secret:
- Select New client secret.
- Set the Expires option to
Never
. Select Add.
NOTE: Copy the Value field. This value is the client secret and must be applied in the Dataprep by Trifacta application.
- API Permissions tab:
- Select Add a permission.
- Select Sharepoint.
Specify the permissions to enable for the client app.
NOTE: To be able to read from SharePoint Online, the following permission is required at a minimum:
AllSites.Manage
.
- Save your changes.
Create OAuth 2.0 Client for SharePoint
After the SharePoint client app is created, you must create an OAuth 2.0 client in the Dataprep by Trifacta application, which is used to integrate with the OAuth 2.0 Client app that you created in Azure.
Steps:
- Login to the Dataprep by Trifacta application as a workspace administrator.
- In the lefthand menu, select User menu > Admin console > OAuth 2.0 Clients.
- In the OAuth 2.0 Clients page, click Register OAuth 2.0.0 Client.
Specify the fields for the new client:
Field Description Type sharepoint
Name Enter a name for the client. Client ID Paste the value of the Application (client) Id that was generated when you created the client app in Azure. Client Secret Paste the value of the client secret that was generated when you created the client app in Azure. Authorization URL Single tenant:
https://login.microsoftonline.com/<tenant_identifier>/oauth2/v2.0/authorize
Multi-tenant:
https://login.microsoftonline.com/common/oauth2/v2.0/authorize
Token URL Single tenant:
https://login.microsoftonline.com/<tenant_identifier>/oauth2/v2.0/token
Multi-tenant:
https://login.microsoftonline.com/common/oauth2/v2.0/token
Scopes Set the scopes to the following values:
NOTE: Individual scopes must be separated by a space.
https://<your_sharepoint_domain>/AllSites.Manage offline_access openid
Access Token Expires In Set this value to the following: 3599999
.Refresh Token Expires In Set this value to the following: 7775999999
.- To save your OAuth 2.0 client, click Save.
For more information, see Create OAuth2 Client.
Create SharePoint Connection
After you have created the two OAuth 2.0 client references, you can create a connection to your SharePoint data.
NOTE: You must create a separate connection for each OAuth 2.0 client that is available in the Dataprep by Trifacta application.
For more information, see SharePoint Connections.
This page has no comments.