I’m trying to create a Folder in a SharePoint site belonging to a Microsoft Teams team.
I can create the folder if I specify the “SharePoint site address”, but it gets created in the “Documents” root folder.
Every team in Teams has a default “Library site” or “Channel” that is called “General”, and I want my folder to be created inside it, but I always experience the former.
I’ve been trying combinations for the last few days and I almost pulled all my hair trying to figure out. As usual, documentation is, to say the least, incomplete, unusable or plainly mediocre. According to:
Activities - Create Folder (uipath.com)
SharePoint document library - The document library within the indicated SharePoint site that contains the file or folder. Open your SharePoint site in a browser, go to the Documents tab, then retrieve the URL, e.g.,
https://yourCompany.sharepoint.com/sites/Marketing/Shared%20Documents/Forms/AllItems.aspx
. This property supportsString
variables and string formatted values.
“Go to the Documents tab, then retrieve the URL”. But is it THAT? I mean… The whole URL? Again, lack of examples makes this unusable. All I get with the whole URL is a "Create Folder:
You do not have access to any Drives named ‘https://xxxxxxxxxxxxxxxxxxxxxxxxx.com/sites/TestSite/Shared%20documents/Forms/AllItems.aspx’ inside SharePoint site ‘https://xxxxxxxxxxxxxxxxxxxxxxxxx.com/sites/TestSite’.
I’m almost sure the whole URL is not the format it’s expecting, neither the “.aspx” part; it wouldn’t make sense to enter the SharePoint site address first, then replicate it plus a “/Shared%20documents/Forms/AllItems.aspx” part for the “document library”.