I am trying to create a Flow/Power Automate which will add document URLs from a SharePoint Online library to QnA maker Knowledge Base once a document is uploaded. Following actions are working -
- Through QnAMaker website, I'm able to add SharePoint file URLs successfully.
- I am able to call a REST API patch operation to add a public URL to QnA Maker knowledgebase.
However, when I try to add a SharePoint file URL to QnA maker via the same REST API, the link doesn't get added to the KB. But, I get a proper response (202 Accepted). I think its due to authentication prompt issues.
Any thoughts how to fix this?