Evolvous | Evolving with a Purpose
  • Solutions
    • Expertise
          • Document Management
          • Cloud CRM
          • Cloud ERP
          • Integration Services
          • Security & Governance
          • Robotic Process Automation
          • Training Programs
          • Analytics & BI
          • Records Management
          • AI Solutions
          • Corporate Intranet
          • Analytics and Business Intelligence
          • Migration Services
          • Modern Workplace
  • Technology
    • Microsoft
          • Microsoft 365
          • SharePoint
          • Microsoft Exchange
          • Power Platform
          • Power BI
          • Power Apps
          • Power Automate
          • Power Pages
          • Copilot studio
          • Dynamics 365
          • Dynamics 365 Business Central
          • Dynamics 365 Customer Service
          • Dynamics 365 Customer Insights
          • Dynamics 365 SCM
          • Dynamics 365 sales
          • Dynamics 365 finance
          • Dynamics 365 Project Operations
          • Microsoft Defender
          • Microsoft Purview
          • Microsoft Intune
    • Adobe
          • Experience Manager
          • Adobe Analytics
          • Adobe Journey Optimizer
          • Adobe Commerce
          • Adobe RT CDP
          • Adobe Experience Cloud
          • Adobe campaign
          • Adobe target
    • Salesforce
          • Salesforce CRM
          • Agentforce
          • Salesforce Einstein
          • Sales Cloud
          • Salesforce Data Cloud
          • Salesforce Pardot
          • Service Cloud
          • Marketing Cloud
    • Oracle
          • Oracle Cloud Consulting Services
          • Oracle cloud infrastructure
          • Oracle Cloud Security & Governance
          • Oracle cloud database management
          • Oracle Cloud Migration Services
          • Oracle DevOps Consulting
    • Akamai
          • Akamai Consulting Services
          • Akamai CDN Implementation
          • Akamai DDoS Protection
          • Akamai Edge Computing
          • Akamai API Security
          • Akamai WAF security
  • Industries
    • Focus Sectors
          • Insurance
          • Construction
          • Legal
          • Oil & Gas
          • Manufacturing
          • Healthcare
          • Logistics & SCM
          • NGO
          • Finance
  • Resources
    • Repositories
          • Case Studies
          • Envisioning Workshop
          • Learn From Experts
          • Testimonials
          • Blog
          • Knowledge Hub
          • Portfolio
  • Partnerships
  • Contact Us
Email Us

Create a sharing link for a file or folder in SharePoint for specific people

Author Details

avatar-teacher

Evolvous

We are a team of tech enthusiast and this section is where we love to share our experience and our knowledge. We try our best to help you understand technical topics by giving you live instances of how-to’s, guides, tips, FAQ’s and troubleshoots.

If you like it or have questions, do share your feedback in the comments section below.

https://evolvous.com/

Create a sharing link for a file or folder in SharePoint for specific people. (External emails)

We will see these below things that are related to sharing SharePoint files/folders/items. This includes how to create a sharing link for a file or folder in SharePoint.

  • · Share SharePoint files or folders
  • · Share SharePoint files or folders using flow
  • · SharePoint API to get a shareable link to a specified external user

Share SharePoint files or folders via SharePoint GUI:

The files you store on a SharePoint site are usually available to everyone with permissions to the site, but you may want to share specific files or folders with people who don’t otherwise have access to the site. When you share files and folders, you can decide whether to let people edit or just view them. You can see who a SharePoint file is shared with, and stop sharing SharePoint files or folders, or change permissions, at any time.

If you want to send an email invitation to people, pick the file or folder you want to share by selecting its circle icon from SharePoint site.

Select share option, it will show following pop-up:

Create a sharing link for a file or folder in SharePoint for specific people. (External emails) - Evolvous

By clicking on small arrow next to the ‘People in your organization with the link can edit’ you can select an option for who you want to give access to with the link. It will show following options, please refer below screenshot.

Create a sharing link for a file or folder in SharePoint for specific people. (External emails) link setting - Evolvous

Also, you can restrict access by selecting option ‘can edit’ or ‘can view’ as shown in below screenshot

Link Send Sharing file - Evolvous

Once you click on ‘Send’ option it will send email invitation like below

Email Send - Evolvous

To open that shared folder or file, it will ask for verification code which will send to your same email account. It will look like as below screenshot.

verification code which will send to your same email account - Evolvous

Share SharePoint files or folders using flow:

If we want to automate sharing SharePoint files or folders, then here is the way.

SharePoint connector in Power Automate provides ‘Grant access to an item or a folder’ action to granting access to external users.

Share SharePoint files or folders using flow - Evolvous

The ‘Grant access to an item or a folder’ action requires the following inputs:

  • · SharePoint site URL
  • · List or library name or identifier
  • · The item or the file identifier for which to grant access
  • · The recipients whom you want to grant access
  • · The permission role you want to grant

In the flow action, you can also include a message and choose to notify the recipients once they get access to the item or the file.

Note: if we set notify to recipients’ parameter to ‘No’ and recipients is external user, he will not get invitation link and not able to access SharePoint file or item without invitation.

When the recipients receive email, it will look like below screenshot:

Email Send - Evolvous

To open folder or file, it is prompting for email verification and then for verification code to get access to that item as follows:

Check email verification and then for verification code to get access to that item - Evolvous

Using this approach, we can avoid anonymous link but need to perform extra verification steps.

Now, how can we skip that email verification part and experience only verification code step like through SharePoint out of box feature.

SharePoint API to share files or folders:

Most of the times organizations want to avoid anonymous share link because of the security reasons. Using this approach, we can avoid anonymous share link and create the share links for specific people using the email address.

SharePoint API to share files or folders - Evolvous

  • · You need to have List id which is the page where the file is located.
  • · a1 is the list guid
  • · a2 parameter in the image path is the id of the file: ItemId
  • · example-

@a1: 7B777e51e2-3abe-411d-9bce-eaeb3dca1b7c

@a2: 20

This is the Uri

_api/web/Lists(@a1)/GetItemById(@a2)/ShareLink?@a1=%27%7B777e51e2-3abe-411d-9bce-eaeb3dca1b7c%7D%27&@a2=%2720%27

This is the body request for non-guest email

{

"request": {

"createLink": true,

"settings": {

"linkKind":6,

"expiration": null,

"role":1,

"restrictShareMembership": true,

"updatePassword": false,

"password":""

},

"peoplePickerInput":"[{"Key":"xxx@email.com","DisplayText":"xxx@email.com","IsResolved":true,"Description":"xxx@email.com","EntityType":"","EntityData":{"SPUserID":"xxx@email.com","Email":"xxx@email.com","IsBlocked":"False","PrincipalType":"UNVALIDATED_EMAIL_ADDRESS","AccountName":"xxx@email.com","SIPAddress":"xxx@email.com","IsBlockedOnODB":"False"},"MultipleMatches":[],"ProviderName":"","ProviderDisplayName":""}]",

"emailData":{

"body":"",

"subject":""

}

}

}

Where,

“linkKind”:”6”, //6: specific,7: external “role”:”7”, // 2: can edit, 1: can view, 7: block download

“xxx@email.com”: this is email of external user.

When the recipients receive email, it will ask only for verification code (not for email verification followed by verification code), just like we receive email via SharePoint GUI.

Conclusion:

By using grant access to file/folder or SharePoint REST API, we can automate the process of sharing link with specific external users using Power Automate flow. If you need help setting this up, contact us today.

I hope you found this blog helpful.

=====

Plus Read

Create a custom dialog box using SPFX

Creating a Purchase Order with SharePoint Workflow

Signup To Show Full Content
Evolvous logo

Evolvous is a software consulting firm in Canada offering services for document management, intranet development, business analytics, Robotic Process Automation, ERP and CRM, cybersecurity and more.

Evolvous camsc

Evolvous is a CAMSC Certified Supplier, making us a proud member of a community of minority-owned businesses, committed to excellence.

Links

  • About Us
  • Blog
  • Case Studies
  • Learn From Experts
  • Envisioning Workshop
  • Careers
  • Privacy Policy
  • Code of Conduct Policy
  • Site Map

Our Offices

Toronto Office

1 King Street West, Suite 4800-54
Toronto, ON M5H 1A1
1-888-354-0555

Corporate Office

1001 1 St SE, Calgary, AB T2G 5G3
403-774-7417

United States Office

800 N King Street
Suite 304 2161
Wilmington, DE 19801
United States

More Locations

Subscribe to our newsletter

Email Address

  • info@evolvous.com
  • careers@evolvous.com
Evolvous ISO. Evolvous ISO. Evolvous Soc. Evolvous reviews on Glassdoor.

Copyright © 2026 Evolvous. All Rights Reserved.