Add a secured Sharepoint data source to your knowledge base
Add secured Sharepoint data sources to your knowledge base to enrich the knowledge base with questions and answers that may be secured with Active Directory.
When you add a secured Sharepoint document to your knowledge base, as the QnA Maker manager, you must request Active Directory permission for QnA Maker. Once this permission is given from the Active Directory manager to QnA Maker for access to Sharepoint, it doesn't have to be given again. Each subsequent document addition to the knowledge base will not need authorization if it is in the same Sharepoint resource.
If the QnA Maker knowledge base manager is not the Active Directory manager, you will need to communicate with the Active Directory manager to finish this process.
Add supported file types to knowledge base
From the Sharepoint server, select the file's ellipsis menu,
Copy the file's URL.
In the QnA Maker portal, on the Settings page, add the URL to the knowledge base.
Granting permissions happens when a secured file from a Sharepoint server is added to a knowledge base. Depending on how the Sharepoint is set up and the permissions of the person adding the file, this could require:
- no additional steps - the person adding the file has all the permissions needed.
- steps by both knowledge base manager and Active Directory manager.
See the steps listed below.
Knowledge base manager: add Sharepoint data source in QnA Maker portal
When the QnA Maker manager adds a secured Sharepoint document to a knowledge base, the knowledge base manager initiates a request for permission that the Active Directory manager needs to complete.
The request begins with a pop-up to authenticate to an Active Directory account.
Once the QnA Maker manager selects the account, the Active Directory administrator will receive a notice that they need to allow the QnA Maker app (not the QnA Maker manager) access to the Sharepoint resource. The Active Directory manager will need to do this for every Sharepoint resource, but not every document in that resource.
Active directory manager: grant file read access to QnA Maker
The Active Directory manager (not the QnA Maker manager) needs to grant access to QnA Maker to access the Sharepoint resource by selecting this link to authorize the QnA Maker Portal Sharepoint enterprise app to have file read permissions.
Grant access from the Azure Active Directory admin center
The Active Directory manager signs in to the Azure portal and opens Enterprise applications.
QnAMakerPortalSharepointthe select the QnA Maker app.
Under Security, go to Permissions. Select Grant admin consent for Organization.
Select a Sign-On account with permissions to grant permissions for the Active Directory.
Send feedback about: