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 share a file of...
Power Automate
Suggested Answer

How to share a file of my OneDrive

(0) ShareShare
ReportReport
Posted on by 565
 
Hi All,
 
Using power apps, I call a flow and I send an HTML control with data to create a PDF and then send the link to the new file.
 
 
The flow works, but the users of my organization receives the email and can not open the file because they do not have access.
Is there any way to grant access to the file before sharing the link? Or should I have to create the file in a SharePoint library ?
 
Thanks for any help
Categories:
I have the same question (0)
  • Suggested answer
    Fredrik_A Profile Picture
    3,570 Super User 2026 Season 1 on at
    Hello,
     
    you can utilize the "Create sharing link for a file or folder" action. This action allows you to generate a link with specific permissions (view or edit) and an optional expiration date, providing controlled access to the file without granting broader permissions
     
    Select the SharePoint site where your OneDrive is located. And in Library select OneDrive.
     
    Then the FileId and what type of sharing you would like (Read or Edit)
     
    Example:
     
    • Site Address: (Your SharePoint site URL)
    • Library Name: OneDrive
    • Item ID: (ID of the file)
    • Link Type: Edit
    • Link Scope: Specific people
    • Expiration Date: (e.g., one week from today)
    If my response solved your issue, please mark it as ✅ Accepted Answer and give it a like.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard