Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Having problems with OneDrive for Business while testing my flow

(0) ShareShare
ReportReport
Posted on 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 at
    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
    65,997 Most Valuable Professional on at
    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 at
    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
    65,997 Most Valuable Professional on at
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow