Skip to main content

Notifications

Copilot Studio - Building Copilot Studio Chatbo...
Unanswered

Can't Get Data From Onedrive

(1) ShareShare
ReportReport
Posted on by 4
Hello, I literally followed every step to add the app in Azure like the images bellow:
 
In API / Permission tab I added these:

 
and in Manual Authentication I added these in the scopes option:

 
and now I already added onedrive business folder as knowledge, and when I test it to download file call "test3" this is what I got:


 
 
Even if I try to get data from pdf, excel, word etc...  or download or doing anything from (Onedrive / Sharepoint) I got nothing


Any help would be appreciate it 
  • Expiscornovus Profile Picture
    Expiscornovus 31,144 on at
    Can't Get Data From Onedrive
    Microsoft has a troubleshooting article for this:
     
    One of the steps in that article is to check if the Graph API actually returns results for your test text "Download file test3". My suggestion would be to begin with that. If that returns results, double check your other steps as well from that article.
     
    POST https://graph.microsoft.com/v1.0/search/query
    
    {
        "requests": [
            {
                "entityTypes": [
                    "driveItem",
                    "listItem"
                ],
                "query": {
                    "queryString": "Download File test3 filetype:docx OR filetype:aspx OR filetype:pptx OR filetype:pdf path:\"DOMAIN.sharepoint.com/sites/SITENAME"
                },
                "from": 0,
                "size": 3,
                "QueryAlterationOptions": {
                    "EnableModification": true,
                    "EnableSuggestion": true
                }
            }
        ]
    }
     
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard

Featured topics