AWS Builder Center

Connect Microsoft SharePoint Online to Amazon Quick Suite

Learn how to connect Microsoft SharePoint Online to Amazon Quick Suite to manage lists, items, files, and Excel workbooks using natural language.

Your work happens across multiple applications. When you need to create a list item in Microsoft SharePoint, you open SharePoint, complete the task, and switch back to what you were doing. The same happens when you upload a file or update a spreadsheet. These constant switches between applications break your focus and slow you down.
Amazon Quick Suite  is an AI-powered workspace that answers your questions and turns those answers into actions. Quick Suite includes Amazon Quick Sight for data visualization, Amazon Quick Flows for building automations with natural language, Amazon Quick Automate for enterprise-scale process automation, Amazon Quick Index for connecting and searching organizational data, and Amazon Quick Research for in-depth analysis across documents and datasets. With the Microsoft SharePoint Online integration, you can work with SharePoint data directly from Quick Suite using natural language, without switching applications.
This guide walks through setting up the Microsoft SharePoint Online action integration with user authentication. User authentication means each person signs in with their own Microsoft account, and actions run with their permissions. If you create a list item, it's created as you. If you're new to SharePoint, see the Terminology section below for explanations of key concepts like sites, lists, and document libraries.

Prerequisites


Before you begin, make sure you have the following:
  • Amazon Quick Suite Enterprise subscription
  • Microsoft 365 account with SharePoint Online access
  • Access to the Microsoft Entra admin center  with at least Application Developer permissions
  • Permission to create app registrations in your Microsoft Entra tenant

How user authentication works


When you set up user authentication (also called three-legged OAuth or 3LO), you create an app registration in Microsoft Entra. This app registration establishes a trust relationship between Quick Suite and Microsoft's identity platform.
Each user who wants to use the SharePoint integration signs in with their Microsoft account the first time they use it. Quick Suite stores their authorization and uses it for subsequent requests. Actions run with the signed-in user's permissions. If a user can't access a SharePoint site directly, they can't access it through Quick Suite either.
This approach provides security through the principle of least privilege. Quick Suite can only do what the authenticated user can do.

Configure Microsoft Entra


Before configuring Quick Suite, you need to create an app registration in Microsoft Entra. This app provides the credentials Quick Suite uses to authenticate users.
To create the app registration:
  1. Open the Microsoft Entra admin center .
  2. In the left navigation, choose Entra ID, then choose App registrations
  1. Choose New registration.
  2. For Name, enter Quick Suite SharePoint Action Integration - User Auth.
  3. For Supported account types, choose Accounts in this organizational directory only. This restricts the app to users in your tenant.
  4. For Redirect URI, select Web from the dropdown, then enter https://{region}.quicksight.aws.amazon.com/sn/oauthcallback. Replace {region} with the AWS Region where your Quick Suite instance is deployed (for example, us-east-1).
  5. Choose Register.
  1. After registration completes, keep this page open. You need the Application (client) ID and Directory (tenant) ID values for the Quick Suite configuration.
Quick Suite needs a client secret to authenticate with Microsoft Entra.
To create a client secret:
  1. From your app registration, choose Certificates & secrets in the left navigation.
  2. Choose the Client secrets tab.
  3. Choose New client secret.
  4. For Description, enter Quick Suite SharePoint Action Integration - User Auth Secret.
  5. For Expires, choose an expiration period. Consider your organization's security policies when selecting this value.
  6. Choose Add.
  7. Copy the Value immediately. This value is only shown once. If you navigate away without copying it, you must create a new secret.
Important: Copy the secret Value, not the Secret ID. The Value is the longer string that starts with characters like abc8Q~....

The app registration needs permissions to access SharePoint through Microsoft Graph.
To configure API permissions:
  1. From your app registration, choose API permissions in the left navigation.
  2. The User.Read permission for Microsoft Graph is already added by default. Leave this permission in place.
  3. Choose Add a permission.
  4. Choose Microsoft Graph.
  5. Choose Delegated permissions.
  6. Search for and select the following permissions:
    • Files.ReadWrite - Allows the app to read, create, update and delete the signed-in user's files
    • Sites.ReadWrite.All - Allows the application to edit or delete documents and list items in all site collections on behalf of the signed-in user
    • offline_access - Allows the app to retrieve a refresh token
  7. Choose Add permissions.
Your API permissions should now include:
APIPermissionTypeDescription
Microsoft GraphUser.ReadDelegatedSign in and read user profile
Microsoft GraphFiles.ReadWriteDelegatedAllows the app to read, create, update and delete the signed-in user's files
Microsoft GraphSites.ReadWrite.AllDelegatedAllows the application to edit or delete documents and list items in all site collections on behalf of the signed-in user
Microsoft Graphoffline_accessDelegatedAllows the app to retrieve a refresh token
If your organization requires admin consent for these permissions, an administrator must grant consent before users can authenticate.
To grant admin consent:
  1. From the API permissions page, choose Grant admin consent for [your tenant name].
  2. Choose Yes to confirm.
After consent is granted, the Status column shows Granted for [your tenant name] for all permissions.

Before leaving the Microsoft Entra admin center, record the following values. You need them for the Quick Suite configuration.
ValueWhere to find it
Application (client) IDApp registration Overview page
Directory (tenant) IDApp registration Overview page
Client secret valueCertificates & secrets page (copied earlier)

Configure Amazon Quick Suite


Now that you have the app registration configured, you can create the Microsoft SharePoint Online action integration in Quick Suite.
To create the action integration:
  1. Open Quick Suite  (for example, https://us-east-1.quicksight.aws.amazon.com/).
  2. In the navigation pane, choose Integrations, then choose Actions.
  1. Find Microsoft SharePoint Online and choose the Add (+) button.
  2. On the Create integration page, configure the following:
    1. For Name, enter Microsoft SharePoint Online Integration - User Auth. Adding "User Auth" helps distinguish this from service authentication integrations.
    2. For Description, enter a description such as Manage SharePoint lists, items, files, and Excel workbooks. See available actions for details.
    3. For Connection type, choose public.
  3. Under Authentication settings, configure the authentication method:
    1. For Authentication method, choose User authentication.
    2. For Authentication type, choose Custom user based OAuth.
Configure the OAuth connection settings:
FieldValue
Base URLhttps://graph.microsoft.com/v1.0
Client IDYour Application (client) ID from Microsoft Entra
Client secretYour client secret value
Token URLhttps://login.microsoftonline.com/{your-tenant-id}/oauth2/v2.0/token
Authorization URLhttps://login.microsoftonline.com/{your-tenant-id}/oauth2/v2.0/authorize
Redirect URLhttps://{region}.quicksight.aws.amazon.com/sn/oauthcallback (pre-filled)
Replace {your-tenant-id} with your Directory (tenant) ID from Microsoft Entra. The Redirect URL is pre-filled based on your region.
  1. Choose Create and continue.
  2. (Optional) Choose users or groups to share the integration with. You can assign them as owners or viewers.
  3. Choose Create.
After creating the integration, you need to sign in with your Microsoft account to authorize it.
To authenticate the integration:
  1. In Quick Suite, choose Integrations, then choose Actions.
  2. Find your SharePoint integration and choose Sign in.
  3. A Microsoft sign-in window opens. Enter your Microsoft account credentials.
  4. Review the permissions the app is requesting.
  5. (Optional) If you're an administrator and want to consent on behalf of your entire organization, select Consent on behalf of your organization.
  6. Choose Accept to grant the requested permissions.

Test the connection


To verify the integration is working, try a simple read action.
To test the integration:
  1. In Quick Suite, choose the chat icon in the top right navigation.
  2. In the chat footer, choose All data and apps.
  3. Ask the agent: "List my available SharePoint sites."
  4. Verify that Quick Suite returns the SharePoint sites you have access to.

Available actions


After setting up the Microsoft SharePoint Online integration, you can perform operations on lists, items, files, and Excel workbooks. The integration provides the following actions:
CategoryActionDescription
Lists and itemsView itemsGet the collection of items in a list.
Lists and itemsGet ItemReturns the metadata for an item in a list.
Lists and itemsGet ListReturns the metadata for a list.
Lists and itemsUpdate ItemUpdate the properties on a listItem.
Lists and itemsDelete ItemRemoves an item from a list.
FilesUpload FileProvide the contents of a new file or update the contents of an existing file in a single API call. This method only supports files up to 250 MB in size.
FilesSearch Site Drive ItemsSearch the hierarchy of items for items matching a query. You can search within a folder hierarchy, a whole drive, or files shared with the current user.
Excel workbooksList SheetsRetrieve a list of worksheet objects.
Excel workbooksAdd SheetAdd a new worksheet to the workbook. The worksheet is added at the end of existing worksheets.
Excel workbooksRead SheetRetrieve the properties and relationships of worksheet object.
Excel workbooksUpdate SheetUpdate the properties of worksheet object.
Excel workbooksDelete SheetDeletes the worksheet from the workbook.
Excel workbooksRead CellGets the range object containing the single cell based on row and column numbers. The cell can be outside the bounds of its parent range, so long as it stays within the worksheet grid.
Excel workbooksWrite CellUpdates the value of a single cell based on row and column numbers. Allows setting cell values to strings, numbers, booleans, or objects.
Excel workbooksRead RangeGets the range object specified by the address or name.
Excel workbooksWrite RangeUpdate the properties of range object.
Excel workbooksClear RangeClear range values such as format, fill, and border.
Excel workbooksDelete RangeDeletes the cells associated with the range.
Excel workbooksGet Used RangeThe used range is the smallest range that encompasses any cells that have a value or formatting assigned to them. If the worksheet is blank, this function returns the top left cell.

Tips for prompting


When working with SharePoint actions through a chat agent, keep these tips in mind.
Large lists return paginated results. When you ask to view items in a list, the agent returns the first page of results (up to 50 items by default). If your list has more items, ask the agent to "show the next page" or "get more items." You can also ask for a specific number of items, such as "show me the first 10 items in the Tasks list."
Be specific about locations. SharePoint organizes content by sites, lists, and document libraries. When asking the agent to perform an action, include the site name and list or library name. For example, "View items in the Project Tasks list on the Marketing site" is more effective than "Show me my tasks."
Excel operations require file identification. When working with Excel workbooks, you need to specify which file you want to work with. Ask the agent to search for the file first if you don't know the exact location. For example, "Search for the Q4 Budget spreadsheet" followed by "Read cells A1 to D10 from the Budget worksheet."
Cell references use row and column numbers. When reading or writing individual cells, the agent uses zero-based row and column indexes. Row 0 is the first row, column 0 is the first column. For ranges, you can use standard Excel notation like "A1:D10".
Search returns files, not content. The Search Site Drive Items action finds files by name and metadata, not by searching inside documents. To find a specific document, search for keywords that appear in the file name or properties.

Cleanup


To remove the resources created in this guide:
  1. In Quick Suite, choose Integrations, select your SharePoint integration, and choose Delete.
  2. In the Microsoft Entra admin center, choose App registrations, select the Quick Suite app, and choose Delete.

Conclusion


In this guide, I explained how to connect Microsoft SharePoint Online to Amazon Quick Suite with user authentication. You created an app registration in Microsoft Entra, configured API permissions, and set up the integration in Quick Suite. You can now manage SharePoint lists, search files, upload documents, and work with Excel workbooks directly from chat agents and automated workflows.

Terminology


Before working with SharePoint through Quick Suite, it helps to understand how SharePoint organizes content:
  • Site: A SharePoint site is a container for content. Your organization might have sites for different teams, projects, or departments. Each site has its own permissions, lists, and document libraries. For more information, see Introduction to SharePoint sites .
  • List: A list stores structured data in rows and columns, similar to a spreadsheet. Common examples include task lists, issue trackers, and contact lists. Each row in a list is called an item. For more information, see Introduction to lists .
  • Document library: A document library stores files. Every SharePoint site has at least one document library, often called "Documents" or "Shared Documents." You can create additional libraries to organize files by project, department, or purpose. For more information, see What is a document library? .
  • Drive: In Microsoft Graph API terminology, a document library is called a drive. When you see "drive" in action names or responses, it refers to a document library. For more information, see Drive resource type .
  • Item: An item is a single row in a SharePoint list. Items have fields (columns) that store different types of data like text, numbers, dates, or choices. For more information, see Get started with lists .
  • Workbook: An Excel file stored in SharePoint. You can read and write data in workbooks without downloading them. For more information, see Work with Excel files in SharePoint .

Resources


Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article