I have been trying to understand how to download files from Teams Channel(Files Tab). Though I have got to know an article which says will help download from Teams chats.
But in my requirement we have managed all Bot required folders in a Teams Channel(Files) Tab. How I am currently doing is:
connect to Microsoft Office 365 scope
Pass the sharepoint URL and drivename in Find Files and Folders activity.
However, getting error as - Access denied. So, wanted to know if somebody has ever done it. If so, it will be of a great help to know how to achieve it.
That’s the way to do it. “Access denied” mean there is some kind of rights issue. Could you refer to this guide Activities - Setup - https://docs.uipath.com/ if O365 is setup in correct way? I guess it could be because of missing API permissions.
You can check the Azure App Details if they are the correct ones when working with the O365 scope, you have given valid Application ID and Tenant ID, since that would be necessary while working with it.
So my doubt is If my appllicationID and secret are working for a sharepoint site in the same organization (for other SharePoints). Will the same AppID, ,Secret, Tenant not work to get connected to Teams sharepoint?.
Yeah, so I have got another SharePoint in my org and Bot is able to establish connection well to that SharePoint. However, it says access denied when try to connect to Teams Channel(Files) tab.
I doubt if the same keys are not working for Teams when accessed as a SharePoint Site.