Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nlu-generative-answers-sharepoint-onedrive.md #2317

Merged
merged 5 commits into from
Feb 20, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ searchScope:
You can use generative answers with content stored on SharePoint sites and OneDrive for Business. This capability works by pairing your bot with a specific site URL, such as _contoso.sharepoint.com/sites/policies_. When a bot user asks a question or makes a statement where the bot doesn't have a manually configured topic to use, it will search for relevant content from that site URL and all sub-paths and will use generative answers technology to help summarize this content into a targeted response.

> [!CAUTION]
> Content analysis and retrieval happens on behalf of the signed-in user, meaning this feature requires user authentication to be [configured for your bot using Microsoft Entra ID under the **Manual (for custom website)** authentication option](nlu-boost-node.md#authentication). The **No authentication** and **Only for Teams** authentication options can't retrieve information from Sharepoint or OneDrive for Business.
> When you publish your copilot, the calls are made on behalf of the user chatting with the copilot, using the authentication settings configured in the copilot, which must use manual authentication with the **Service Provider** type of **Microsoft Entra ID** (formerly Azure Active Directory).
> Instructions for how to do this can be found in [Configure user authentication in Microsoft Copilot Studio](configuration-end-user-authentication.md)
> You can find instructions for how to create the needed Microsoft Entra ID application registration in [Configure user authentication with Microsoft Entra ID](configuration-authentication-azure-ad.md)
>
> When configuring **Manual (for custom website)** authentication for your bot, you will need to provide scopes that control what access PVA has on behalf of that user. In particular, you need to specify **Sites.Read.All**, **Files.Read.All** in the scopes field in addition to the existing **profile** and **openid** values. These scopes do not give the user the ability to see anything they couldn't already, but it allows this logged in session to access the content that user already has access to on the Sharepoint site which you've configured for Generative Answers.
>
> It also means that when a specific user asks a question of the bot, the bot will only surface content that that specific user has access to read on SharePoint or OneDrive for Business.
> Selecting **No authentication** and **Only for Teams** authentication options mean your copilot won't retrieve information from Sharepoint or OneDrive for Business.
>

Due to memory limits, we recommend you limit the size of the files you want to use on SharePoint. If a file is unusually large, consider splitting it into multiple smaller files.

Expand Down