AWS Machine Learning Blog 前天 01:06
Discover insights from Microsoft Exchange with the Microsoft Exchange connector for Amazon Q Business
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

Amazon Q Business 是一款由生成式 AI 驱动的助手,旨在帮助企业充分释放其数据和知识的价值。通过集成 Salesforce、Jira、SharePoint 和 Microsoft Exchange 等多种企业系统,Amazon Q Business 能够建立统一的数据索引,使大型语言模型能够准确回答用户问题、生成摘要和内容,并完成任务。文章详细介绍了如何配置 Microsoft Exchange 连接器,实现企业内部数据的集中访问、智能搜索、提升生产力、保障安全合规以及优化决策流程,从而赋能员工更高效地工作。

📦 **统一数据访问与整合**:Amazon Q Business 通过提供原生数据源连接器,能够无缝集成并索引来自 Salesforce、Jira、SharePoint 和 Microsoft Exchange 等多个数据源的内容,将分散的企业数据整合成统一的索引,为大型语言模型提供准确、详实的回答基础。

💡 **智能搜索与信息检索**:利用先进的自然语言处理和机器学习能力,Amazon Q Business 支持用户以自然语言提问,能够从 Microsoft Exchange 等数据源中智能检索信息,并提供相关的答案和见解,极大地提升了信息查找的效率。

🚀 **提升生产力与协作**:通过简化查找和利用 Microsoft Exchange 中存储信息的流程,Amazon Q Business 帮助员工快速定位关键文件、联系人或日历事件,从而提高整体生产力,促进组织内的协作,并支持更明智的决策。

🔒 **安全合规的数据访问**:Amazon Q Business 确保了对 Microsoft Exchange 数据进行安全且合规的访问和查询。它与组织的身份提供商集成,仅授权用户访问敏感信息,并维护详细的用户活动审计记录,保障数据安全。

📊 **优化工作流程与决策**:Amazon Q Business 能够基于 Microsoft Exchange 数据生成摘要、答案和建议,帮助用户做出更明智的决策,并简化客户支持、项目管理和战略规划等工作流程,从而驱动更快速、更有效的业务成果。

Amazon Q Business is a fully managed, generative AI-powered assistant that helps enterprises unlock the value of their data and knowledge. With Amazon Q Business, you can quickly find answers to questions, generate summaries and content, and complete tasks by using the information and expertise stored across your company’s various data sources and enterprise systems. At the core of this capability are native data source connectors that seamlessly integrate and index content from multiple repositories into a unified index. This enables the Amazon Q Business large language model (LLM) to provide accurate, well-written answers by drawing from the consolidated data and information. The data source connectors act as a bridge, synchronizing content from disparate systems like Salesforce, Jira, and SharePoint into a centralized index that powers the natural language understanding and generative abilities of Amazon Q Business.

To make this integration process as seamless as possible, Amazon Q Business offers multiple pre-built connectors to a wide range of data sources, including Atlassian Jira, Atlassian Confluence, Amazon Simple Storage Service (Amazon S3), Microsoft Exchange, Microsoft SharePoint, Salesforce, and many more. This allows you to create your generative AI solution with minimal configuration. For a full list of Amazon Q Business supported data source connectors, see Supported connectors.

One of the key integrations for Amazon Q Business is with Microsoft Exchange. Microsoft Exchange is a widely used enterprise email and collaboration environment that contains a wealth of valuable information, including email conversations, attachments, calendar events, and contacts.

With the Microsoft Exchange connector, we are enhancing user productivity and streamlining communication processes within organizations. This integration empowers users to use advanced search capabilities and intelligent email management using natural language.

The Microsoft Exchange connector for Amazon Q Business providing a seamless way to index and query data stored in Microsoft Exchange. With this connector, organizations

By using the Microsoft Exchange connector for Amazon Q Business, organizations can unlock the full value of the data stored in their Microsoft Exchange repositories, empowering employees to work more efficiently, collaborate more effectively, and drive greater business impact.

In this post, we show how to index information stored in Microsoft Exchange and use Amazon Q Business to query your Microsoft Exchange data.

Microsoft Exchange connector for Amazon Q Business features

The following table gives an overview of the Microsoft Exchange connector for Amazon Q Business and its supported features. For more details, refer to Microsoft Exchange connector overview.

Solution overview

With Amazon Q Business, you can configure multiple data sources to provide a central place to search across your internal repository. For our solution, we demonstrate how to retrieve data from the Microsoft Exchange repository or a folder using the Microsoft Exchange connector for Amazon Q Business. The solution consists of the following steps:

    Configure a Microsoft Exchange application and gather connection details Create users and groups in AWS IAM Identity Center Create the Microsoft Exchange connector for Amazon Q Business Query Microsoft Exchange data using the Amazon Q web experience Troubleshooting

The following diagram illustrates the solution architecture.

Prerequisites

To configure the Microsoft Exchange connector for Amazon Q Business, you need to create a Microsoft Exchange account in Office 365.

Configure a Microsoft Exchange application and gather connection details

    Log in to the Azure portal using your global admin user account and choose Next.

    Enter your password and choose Sign in.

    If multi-factor authentication (MFA) is configured, now authenticate using Microsoft Authenticator.

    Choose Yes to stay signed in. On the Azure portal’s landing page, search for and choose Microsoft Entra ID.

    On the Microsoft Entra ID service page, copy the value of Tenant ID.

    Choose App registrations in the navigation pane.

    Choose New registration.

    Enter the name of your choice for Name, then choose Register.

After successful registration, you will land on the application page, as shown in the following screenshot.

    Choose Certificates & secrets in the navigation pane.

    Choose New client secret.

    Enter a description for the client secret for Description and choose Add.

    Make a note of the secret value and secret ID.

    Now configure API permissions by choosing API permissions in the navigation pane.

    For Microsoft Exchange Online, please make sure that you have Azure AD Premium P2 activated. This will make sure that the Microsoft Exchange Online is available as part of your organization APIs.

    Add the permissions to the APIs Microsoft Graph and Office 365 Exchange Online.

There are 13 permissions for Microsoft Graph and 1 permission for Office 365 Exchange Online.

Create users and groups in AWS IAM Identity Center

In this section, you create a user John Doe in AWS IAM Identity Center, who will be given permission to use the application.

To create your user, complete the following steps:

    Open IAM Identity Center console. If you haven’t enabled IAM Identity Center, choose Enable. If there’s a pop-up, choose how you want to enable IAM Identity Center. For this example, select Enable only in this AWS account. Choose Continue.

For more details, refer to Enable IAM Identity Center.

    On the IAM Identity Center console, choose Users in the navigation pane. Choose Add user. Enter the following user details:
      Username: john_doe Email address: john_doe@xyz.com (Use or create a real email address for each user to use in a later step.) First name: John Last name: Doe Display name: John Doe

    Skip the optional fields and choose Next to create the user. On the Add user to groups page, choose Next and then choose Add user.

Create the Microsoft Exchange connector for Amazon Q Business

For detailed steps to set up Amazon Q Business, refer to Getting started with Amazon Q Business. To configure the Amazon Q Business connector, complete the following steps:

    In the Amazon Q Business console, choose Applications in the navigation pane. Choose Create application.

    In the Create application step, for Service access, select Create and use a new service role, then choose Create.

    In the Select retriever step, select Use native retriever and choose Next.

    In the Connect data sources step, search for and choose Microsoft Exchange, then choose Create application.

    On the Applications page, choose your application (qbiz-mx-app).

    In the Data sources section, choose Add data source.

    On the Add data source page, search for Microsoft Exchange and choose the plus sign to configure the data source.

    Enter the name of the data source and the tenant ID noted earlier.

    In the Authorization section, enable Access Control List (ACL). In the Authentication section, for AWS Secrets Manager secret, choose Create and add new secret.

    Enter the secret name of your choice, the client ID and client secret values you noted earlier, and choose Save.

    In the Configure VPC and security group section, leave the settings as default. In the IAM role section, choose Create a new service role. In the Sync scope section, for User email ID, enter the email of your Microsoft Exchange account and choose Add.

Alternatively, if you have list of user email IDs, you can provide an Amazon S3 path to a file with user emails in your S3 bucket. For more details, refer to Connecting Amazon Q Business to Microsoft Exchange using the console.

    In the Sync mode section, use the default Full sync. In the Sync run schedule section, choose the frequency of your choice. Leave the remaining sections with default values.

    Choose Add data source.

Amazon Q will take 30 seconds to 1 minute to configure your data source. You will see a success banner as shown in the following screenshot.

    Choose Sync now to sync your data source.

After successfully syncing the data source, you will see the Status / Summary column as Completed.

    For the Update groups and users step, choose Add groups and users.

The users and groups that you add in this section are from the IAM Identity Center users and groups set up by your administrator.

    In the Add or assign users and groups pop-up, select Assign existing users and groups to add existing users configured in your connected IAM Identity Center.

Optionally, if you have permissions to add users to connected IAM Identity Center, you can select Add new users.

    Choose Get started.

    In the Assign users and groups pop-up, search for users by user display name or groups by group name. Choose the users or groups you want you add and choose Done.

This closes the pop-up. The groups and users that you added should now be available on the Groups or Users tabs.

    Choose Assign.

For each group or user entry, an Amazon Q Business subscription tier needs to be assigned.

    To enable a subscription for a group, on the Update groups and users page, choose the Groups (If individual users need to be assigned a subscription, choose the Users tab.) For Subscription, choose Choose subscription and choose a subscription (Q Business Lite or Q Business Pro). Choose Update application to complete setting up the data connector for Amazon Q Business.

Query Microsoft Exchange data using the Amazon Q web experience

To query the data that is synced through the data source, navigate back to the Amazon Q Business application (qbiz-mx-app) and choose the Web experience URL link.

Sign in to the web application using the credentials of the user assigned and configured in IAM Identity Center.

After a successful sign in, the Amazon Q Business application should be displayed in the list of applications, as shown in the following screenshot.

The application link should redirect you to the Amazon Q Business chat application, as shown in the following screenshot.

The following screenshot shows the emails that were synced earlier. We will first query based on the content from the email highlighted in this screenshot.

The following screenshot shows the response to the query “what are the easy ways to get started on Azure?”

You can choose the data source hyperlink to open the email that the response is based on.

The following screenshot shows an invoice email from Microsoft Outlook, which we will use for another question.

We will also refer to calendar details of a meeting with the billing team along with the agenda details.

We ask the question “Q Assistant, I have a meeting with the billing team tomorrow. Can you summarize the agenda and find relevant information from my emails that I can review in the meeting?” The following screenshot shows the response based on the sample invoices email.

The response included the information from the email along with the hyperlink to the data sources (in this case, it is the hyperlink to the Outlook emails).

We ask another question: “What are the main features and my actions items relating to the recent CloudTrail changes? By when should I implement the changes?”

Amazon Q Business retrieved the main features, action items, and the implementation timeline.

Congratulations! You have successfully used the Microsoft Exchange connector for Amazon Q Business to surface answers and insights based on the content indexed from your Microsoft Exchange account.

Troubleshooting

Troubleshooting your Microsoft Exchange connector provides information about error codes you might see for the connector and suggested troubleshooting actions. If you encounter an HTTP status code 403 (Forbidden) error when you open your Amazon Q Business application, it means that the user is unable to access the application. See for common causes and how to address them.

The sync run history report is a new feature now available in Amazon Q Business that significantly improves visibility into data source sync operations. The latest release introduces a comprehensive document-level report incorporated into the sync history, providing administrators with granular indexing status, metadata, and ACL details for the documents processed during a data source sync job.

Frequently asked questions

In this section, we provide guidance to frequently asked questions.

Amazon Q Business is unable to answer your questions

If you get response “Sorry, I couldn’t find relevant information to complete your request,” this might be due to a few reasons:

If none of these are true in your case, open a support case to get this resolved.

How to generate responses from authoritative data sources

You can configure these options using Amazon Q Business application global controls under Admin controls and guardrails:

    Log in as an Amazon Q Business application administrator. Navigate to the application and choose Admin controls and guardrails in the navigation pane. Choose Edit in the Global controls section to configure these options.

For more information, refer to Admin controls and guardrails in Amazon Q Business.

Amazon Q Business responds using old (stale) data even though your data source is updated

Each Amazon Q Business data connector can be configured with unique sync run schedule frequency. Verify the sync status and sync schedule frequency for your data connector to see when the last sync ran successfully. Your data connector’s sync run schedule might be set to sync at a scheduled time of day, week, or month. If set to run on demand, then the sync has to be manually triggered. When the sync run is complete, verify the sync history to make sure the run has successfully synced all new issues. Refer to Sync run schedule for more information.

How to set up Amazon Q Business using a different IdP

You can set up Amazon Q Business with another SAML 2.0-compliant IdP, such as Okta, Entra ID, or Ping Identity. For more information, see Creating an Amazon Q Business application using Identity Federation through IAM.

Expand the solution

You can explore other features in Amazon Q Business. For example, the Amazon Q Business document enrichment feature helps you control what documents and document attributes are ingested into your index and also how they’re ingested. Using document enrichment, you can create, modify, or delete document attributes and document content when you ingest them into your Amazon Q Business index. For example, you can scrub personally identifiable information (PII) by choosing to delete any document attributes related to PII.

Amazon Q Business also offers the following features:

To improve retrieved results and customize the user chat experience, you can map document attributes from your data sources to fields in your Amazon Q index. Learn more by exploring Microsoft Exchange data source connector field mappings.

Clean up

To avoid incurring future costs, clean up the resources you created as part of this solution. If you only added a new data source using the Microsoft Exchange connector for Amazon Q Business, delete that data source.

Complete the following steps to clean up your resources:

    Open the Office 365 Admin Center using the account of a user member of the Tenant Global Admins group. Navigate to the Microsoft Azure Portal. Search for and choose App registrations. Select the application you created earlier, then choose Delete. On the Amazon Q Business console, choose Applications in the navigation pane. Select the application you created, and on the Actions menu, choose Delete. Delete the users that were added in IAM Identity Center.

Conclusion

With the Microsoft Exchange connector for Amazon Q Business, organizations can tap into the repository of information stored in their account securely using intelligent search powered by Amazon Q Business.

To learn about these possibilities and more, refer to the Amazon Q Business User Guide. For more information on how you can create, modify, or delete metadata and content when ingesting your data from Microsoft Exchange, refer to Enriching your documents during ingestion.


About the Authors

Ram Konchada is Senior Solutions Architect at AWS. He loves helping customers achieve their business goals using technology. Outside of work, Ram enjoys playing tennis.

Armstrong Onaiwu is a Solutions Architect at AWS. He is deeply passionate about technology and helping customers use AWS services to address business challenges. He specializes in designing highly scalable, resilient, and cost-effective network solutions on AWS. When not spending time with his family, Armstrong enjoys traveling and playing FIFA.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

Amazon Q Business 企业AI 数据整合 Microsoft Exchange 智能问答
相关文章