Files from Sharepoint to Microsoft Teams 1.0.0
This gem leverages the Microsoft Graph API to seamlessly transfer files from SharePoint to specific Microsoft Teams channels or groups, ensuring efficient and secure document sharing. By automating file synchronization, it enhances collaboration across teams in real-time. The use of Microsoft Graph API ensures scalability and secure access to data within your Microsoft 365 ecosystem. This gem optimizes workflow efficiency, reducing manual effort while maintaining data integrity. The uploaded files will be stored in a newly created folder labeled currentdate_SPFiles
, ensuring organized and date-specific file management.
Setup Guide
This gem will receive files from Sharepoint and upload them to Microsoft Teams without the hassle of any tedious copy-paste work.
To run this gem and connect Sharepoint to Microsoft Teams, you need to configure the parameters mentioned below.
Microsoft Graph
Server Host
Required. Default is set tohttps://graph.microsoft.com/v1.0/sites/root
when connecting to the default SharePoint instance. Set tohttps://graph.microsoft.com/v1.0/sites/<site-id>
when connecting to a specific SharePoint instance.Token File
Required. Select the Rest Token file from the drop-down list. Review the documentation article here on how to generate the token file.Source Folder Folder
Required. Specify the path to the source folder, ending with a trailing slash.Filter
Optional. Specify to filter the list of files.
Microsoft Teams
Server Host
Required. Provide the relevant [Team/Group] identifier in the Server URL.Token File
Required. Select the Rest Token file from the drop-down list. Review the KB-Article mentioned here on how to generate the token file.Destination Folder
Required. Specify the path to the destination folder, ending with a trailing slash.