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 / How to get shared file...
Power Automate
Unanswered

How to get shared file from OneDrive in PAD

(0) ShareShare
ReportReport
Posted on by 150

I'm unable to find shared files using OneDrive for business actions. Is it possible to get shared files

I have the same question (0)
  • Riyaz_riz11 Profile Picture
    4,214 Super User 2026 Season 1 on at

    Hi @kiran_g ,

    Follow these steps from the link.

    How can I access to shared files in Onedrive desktop (not using the - Microsoft Community

     

    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    Regards,
    Riyaz

  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @kiran_g ,

     

    Please find the below solution.

     

    Onedrive.png

     

    If you want to replicate, please copy the below code into PAD.

     

    Code:

    @@path: '/Desktop/Power Automate Desktop/Practice/Config/Config File.xlsx'
    @@connectionDisplayName: 'Cr442c5_shared_onedriveforbusiness_90c6768d'
    External.InvokeCloudConnector Connection: '08e55503-915f-405b-b926-dad910b66e58' ConnectorId: '/providers/Microsoft.PowerApps/apis/shared_onedriveforbusiness' OperationId: 'GetFileContentByPath' @path: $'''/Desktop/Power Automate Desktop/Practice/Config/Config File.xlsx''' @inferContentType: True @GetFileContentByPathResponse=> GetFileContentByPathResponse
    File.ConvertFromBinary BinaryData: GetFileContentByPathResponse File: $'''C:\\Users\\Desktop\\File from Onedrive.xlsx''' IfFileExists: File.IfExists.Overwrite

    # [ControlRepository][PowerAutomateDesktop]

    {
    "ControlRepositorySymbols": [],
    "ImageRepositorySymbol": {
    "Repository": "{\r\n \"Folders\": [],\r\n \"Images\": [],\r\n \"Version\": 1\r\n}",
    "ImportMetadata": {},
    "Name": "imgrepo"
    },
    "ConnectionReferences": [
    {
    "ConnectorId": "/providers/Microsoft.PowerApps/apis/shared_onedriveforbusiness",
    "DisplayName": "Cr442c5_shared_onedriveforbusiness_90c6768d",
    "InternalId": "08e55503-915f-405b-b926-dad910b66e58",
    "IsDisabled": false,
    "LogicalName": "Cr442c5_shared_onedriveforbusiness_90c6768deaeb42148068fc0fdc8e1b38",
    "IsEmbedded": false,
    "ConnectionName": "shared-onedriveforbu-6b580db1-68b7-489d-9b20-b1c7d33ac4f7",
    "ConnectionDisplayName": "Varikutivishnuvardhan.Reddy@cyient.com"
    }
    ]
    }


    Thanks,
    Vishnu Reddy

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers

  • kiran_g Profile Picture
    150 on at

    The file is shared from another email, but these actions aren't showing shared files or folders.

  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @kiran_g ,

     

    I dint get you can you elaborate the issue.

  • kiran_g Profile Picture
    150 on at

    The file was shared from another OneDrive, that file was in the Shared folder. OneDrive for business actions not showing Shared folder, it only showing files from My File

    sonedrive.PNG

  • Riyaz_riz11 Profile Picture
    4,214 Super User 2026 Season 1 on at
  • kiran_g Profile Picture
    150 on at

    If someone makes changes to the original file, will they also make changes to the shortcut file?

  • Riyaz_riz11 Profile Picture
    4,214 Super User 2026 Season 1 on at

    Yes it will be reflect there as well.

  • kiran_g Profile Picture
    150 on at

    The shortcut is saving in .url,  when i'm trying to download that file into my local drive as an excel file it is not opening because of the extension. I need that file save into my local drive as an excel file, how?

  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @kiran_g ,

     

    When your saving and giving file name just give .xlsx at the end so it will open.

     

    Thanks,

    Vishnu Reddy

     

    Please mark it as a solution if it worked

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard