Importing FAQ Documents from SharePoint to QnA Maker not working

帅比萌擦擦* 提交于 2021-01-29 19:29:30

问题


has anyone been able to successfully import FAQ documents from SharePoint into QnAMaker yet?

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:

Bad Argument Unsupported/Invalid URLs: "https://mytenant.sharepoint.com/teams/sitename/library/FAQ.docx"

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.


回答1:


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.

On a side note, I also noticed that I had to do hard refreshes and re-authenticate after some time for subsequent FAQ imports.



来源:https://stackoverflow.com/questions/58193472/importing-faq-documents-from-sharepoint-to-qna-maker-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!