将常见问题文档从 SharePoint 导入 QnA Maker 不起作用 [英] Importing FAQ Documents from SharePoint to QnA Maker not working
问题描述
是否有人能够将常见问题解答文档从 SharePoint 成功导入 QnAMaker?
has anyone been able to successfully import FAQ documents from SharePoint into QnAMaker yet?
我已经阅读了此处的文档(https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/add-sharepoint-datasources),确认所有权限等,但尝试从 SharePoint URL 导入时仍然收到以下错误:
I've gone through the documentation here (https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/how-to/add-sharepoint-datasources), confirmed all permissions, etc. but am still getting the following error when trying to import from a SharePoint URL:
错误的论点不支持/无效的 URL:"https://mytenant.sharepoint.com/teams/sitename/library/FAQ.docx"
Bad Argument Unsupported/Invalid URLs: "https://mytenant.sharepoint.com/teams/sitename/library/FAQ.docx"
我能够手动将完全相同的文档上传到 QnAMaker,这表明文档格式和内容没有问题.
I was able to upload the same exact document manually to QnAMaker so that tells me it's not a problem with the document format and content.
推荐答案
经过一些实验,如果您不接受/允许弹出身份验证提示,则会出现此错误.一旦我允许出现弹出窗口,我就可以使用我的凭据登录以允许从 SharePoint 同步文档.
After some experimentation, it looks like this error will appear if you don't accept/allow for the authentication prompt to pop up. Once I allowed for the pop up window to appear, I was able to login with my credentials to allow for the document sync from SharePoint.
顺便提一下,我还注意到我必须进行硬刷新并在一段时间后重新进行身份验证,以便后续的 FAQ 导入.
On a side note, I also noticed that I had to do hard refreshes and re-authenticate after some time for subsequent FAQ imports.
这篇关于将常见问题文档从 SharePoint 导入 QnA Maker 不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!