Skip to content

Commit 4009c37

Browse files
authored
Merge pull request #191380 from Clare-Zheng82/0310-Update_Square_connector_doc
Add Note about OAuth access token scope in Square connector doc
2 parents e5f24db + be4f8a3 commit 4009c37

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/data-factory/connector-square.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.service: data-factory
88
ms.subservice: data-movement
99
ms.topic: conceptual
1010
ms.custom: synapse
11-
ms.date: 01/27/2022
11+
ms.date: 04/20/2022
1212
---
1313

1414
# Copy data from Square using Azure Data Factory or Synapse Analytics (Preview)
@@ -87,6 +87,10 @@ Square support two types of access token: **personal** and **OAuth**.
8787
- Personal access tokens are used to get unlimited Connect API access to resources in your own Square account.
8888
- OAuth access tokens are used to get authenticated and scoped Connect API access to any Square account. Use them when your app accesses resources in other Square accounts on behalf of account owners. OAuth access tokens can also be used to access resources in your own Square account.
8989

90+
>[!Important]
91+
> To perform **Test connection** in the linked service, `MERCHANT_PROFILE_READ` is required to get a scoped OAuth access token. For permissions to access other tables, see [Square OAuth Permissions Reference](https://developer.squareup.com/docs/oauth-api/square-permissions).
92+
93+
9094
Authentication via personal access token only needs `accessToken`, while authentication via OAuth requires `accessToken` and `refreshToken`. Learn how to retrieve access token from [here](https://developer.squareup.com/docs/build-basics/access-tokens).
9195

9296
**Example:**

0 commit comments

Comments
 (0)