Solved

Dynamically add folders to Sharepoint365 or Skydrive

Posted on 2013-11-19
2
325 Views
Last Modified: 2014-01-30
Is there a way to automatically create folders on sharepoint/skydrive using 365 via scripting or a template?

What I am after is once a folder is created, to generate a specific list of subfolders.

Clients
Client1
   + Sub1
       -sub1.1
       -sub1.2
   + Sub2
       -sub2.1
       -sub2.2

Client2
   + Sub1
       -sub1.1
       -sub1.2
   + Sub2
       -sub2.1
       -sub2.2
0
Comment
Question by:Scott Fell,  EE MVE
2 Comments
 
LVL 39

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
ID: 39660054
Cannot do this using the tools we get by default. The PowerShell module for SharePoint Online has very few cmdlets available, and creating new library/folder is not one of them.

You can do some more stuff if you install the SharePoint Service 2013 Client Components SDK/SharePoint 2013 .NET Framework Client Object Model (CSOM), as described here for example:

http://www.hartsteve.com/2013/06/sharepoint-online-powershell/

As a workaround, you can create them locally, skydrive will sync them back to SharePoint Online.
0
 
LVL 52

Author Closing Comment

by:Scott Fell, EE MVE
ID: 39823339
That was the solution, not what I wanted, but it did the trick.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Find out what Office 365 Transport Rules are, how they work and their limitations managing Office 365 signatures.
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

806 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question