MS Teams
Last updated
Last updated
The source MS Teams connector allows files and folders to be picked up from One Drive/Sharepoint and transformed into motation.
The source MS Teams connector uses API to pick up the files and folders from One Drive/Sharepoint. You will need to register an single tennant application with the appropriate permissions to use this connector.
You will need to register ImpulseSync as an application in . Register ImpulseSync as a single tennant.
Once it's registered you will have a tennant ID and a client ID. You will also need a.
Finally, ImpulseSync requires the appropriate permissions. It must be able to read the files for a drive in a site. This can be granted by granting the Files.Read.All permission.
Click "Add a permission". Then select Microsoft Graph.
Select "Application permissions". Then type files.read.all
into the search bar.
Then select the Files.Read.All permission and click "add permissions" at the bottom.
Finally, grant admin consent for the permission.
When saving an endpoint for a MS Teams repository via REST instead of the UI you must use the following key:value pairs in the payload.
contentRepo:ms-teams
contentRepoVersion:latest
Because this connector uses the MS Graph API to pickup files, there are some restrictions inherited from the API.
Passing in a select param is unsupported.
Passing in an expand param is unsupported.
Passing in an order by param is unsupported.
clientId
The client ID for the registered ImpulseSync application in the MS identify platform.
clientSecret
The client secret for the registered ImpulseSync application in the MS identify platform.
tenantId
The tenant ID for the registered ImpulseSync application in the MS identify platform.
driveId
The drive ID to pick up files from.
siteId (optional)
The site ID the drive lives at to pick up files from. (default: no site id)
rateLimitPerSecond (optional)
The rate limit requests should be sent to the MS Graph API. (default: 10)
folder
The relative folder path from root of a drive to pick up files from.
Text
true
No Default Value
query
Text
false
No Default Value
The folder job option is the relative folder path from the root of the drive ID.
Category
No
Definition
Yes
Domain
No
Folder
Yes
Language
No
Relationship
No
Tag
No
One of these restrictions is the need to manually filter files based on a time stamp. The does not allow for a query to be made for files which sorts or filters by time stamp. This means the connector must query through all files in a folder on pickup. This can cause picking up files to take longer than expected for a transaction that is picking up files from a very large folder.
Anything unsupported by the MS Graph API is also unsupported by this connector. i.e., the sorting param only works with .
to be added to the API request to pick up files.