Skip to main content
Community site session details

Community site session details

Session Id : JAurDz0+jm7U7zhKfdX3Qg
Power Automate - Using Flows
Answered

Having problems with OneDrive for Business while testing my flow

Like (0) ShareShare
ReportReport
Posted on 7 Jun 2021 13:44:02 by 9

I'm currently doing a flow to attach uploaded files in MS Forms into an e-mail, but I'm always having problems with the OneDrive for Business process. In this flow in particular, I'm using Get file content using path, and though in my Inputs I have a "true" I always got this error in my outputs: 

 

"statusCode": 403,
"headers": {
"Pragma": "no-cache",
"Transfer-Encoding": "chunked",
"x-ms-request-id": "3c39829a-a818-4356-acdc-3de6863a4dd4",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"Cache-Control": "no-cache",
"Date": "Mon, 07 Jun 2021 13:20:18 GMT",
"X-AspNet-Version": "4.0.30319",
"X-Powered-By": "ASP.NET",
"Content-Type": "application/json",
"Expires": "-1",
"Content-Length": "91066"
},
"body": {
"status": 403,
"message": "Forbidden - \r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\r\n\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html xmlns:o=\"urn:schemas-microsoft-(etc.. this response is huge)
"source": "api.connectorp.svc.ms"

 

  • Pato3 Profile Picture
    9 on 09 Jun 2021 at 15:51:21
    Re: Having problems with OneDrive for Business while testing my flow

    It was indeed an issue of Permissions with my account in the organization! I setted up a meeting with my manager to add her connection in the Power Automate Flow and it worked perfectly! Thank you very much!

  • Verified answer
    Pstork1 Profile Picture
    67,131 Most Valuable Professional on 07 Jun 2021 at 18:15:44
    Re: Having problems with OneDrive for Business while testing my flow

    If you don't have permission to view them manually because you are an intern then you won't be able to retrieve the contents of them to create the file in SharePoint.  You must have permission to retrieve and view the file in order to use the contents to create a new file because the flow runs in your security context.  You will not be able to do what you are trying to do without access to the files in OneDrive.

  • Pato3 Profile Picture
    9 on 07 Jun 2021 at 13:59:13
    Re: Having problems with OneDrive for Business while testing my flow

    Yes, I checked manually and the files are in the OneDrive of my organization in their correct format, though once selected I cannot view them since I'm an intern and I dont have that permission in particular 😅.

     

    But the problem in particular is not viewing them, but to select those items from OneDrive to put attach them somewhere else, like in Sharepoint or in an E-mail. Here I post the screenshots of the flow, most processes are written in spanish, but I believe it can be inferred wich processes they are (I might be wrong though, if you need it, please tell me to change their names manually).

     

     

    Pato3_1-1623073881762.pngPato3_2-1623073900074.pngPato3_3-1623073922281.png

     

     

  • Pstork1 Profile Picture
    67,131 Most Valuable Professional on 07 Jun 2021 at 13:48:50
    Re: Having problems with OneDrive for Business while testing my flow

    Did you try opening the file in OneDrive manually to make sure its there and that you can access it?

    Can you post a screenshot of your flow so we can see how you configured it.

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete