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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Having problems with O...
Power Automate
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"

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,925 Most Valuable Professional on at

    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.

  • Pato3 Profile Picture
    9 on at

    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

     

     

  • Verified answer
    Pstork1 Profile Picture
    68,925 Most Valuable Professional on at

    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

    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!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard