web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
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 
I have the same question (0)
  • Expiscornovus Profile Picture
    32,932 Most Valuable Professional 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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 364 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 309 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 53 Moderator

Last 30 days Overall leaderboard

Featured topics