Tool

Share file or folder

The ShareFileOrFolder tool simplifies collaboration by enabling secure sharing of files and folders within Microsoft 365 SharePoint document libraries. It allows users to assign specific roles and easily notify recipients with customized invitations to streamline teamwork.

SharePoint

Features

  • Supports sharing files and folders within specified SharePoint document libraries (Drive).
  • Allows assignment of roles such as read or write access to recipients.
  • Sends customizable sharing invitations via email to one or multiple recipients.
  • Ensures secure collaboration by granting precise permissions on DriveItems.
  • Integrates seamlessly with Microsoft 365 SharePoint for efficient document management.

Benefits

  • Enhances team collaboration through controlled access to documents.
  • Saves time with quick and easy file or folder sharing in SharePoint.
  • Improves security by assigning granular read/write permissions.
  • Increases transparency by notifying recipients with clear, customized messages.
  • Facilitates document management within the familiar Microsoft 365 ecosystem.

Description

Use this tool for SharePoint document libraries or when you need to specify a drive.Sends a sharing invitation to grant read/write permissions on a file or folder (DriveItem) within a specified Document Library (Drive).Supports assigning roles and notifying recipients.

Parameters

6 parameters

NameTypeDescription
documentLibraryIdrequiredstring

ID of the Document Library (Drive) containing the file or folder to share.

fileOrFolderIdrequiredstring

ID of the file or folder (DriveItem) to share.

recipientEmailsrequiredstring[]

Email addresses of recipients to invite.At least one recipient email is required.

rolesrequiredstring[]

Roles to assign to recipients.Accepted values: read, write (write grants both read and write access).Defaults to read role if not specified.

sendInvitationboolean

Indicates whether to send a sharing invitation.Defaults to true if not specified.

messagestring

Custom message to include in the invitation email.Defaults to a standard message if not specified.

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .