Solved

Dynamically add folders to Sharepoint365 or Skydrive

Posted on 2013-11-19
2
334 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 40

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

As cyber crime continues to grow in both numbers and sophistication, a troubling trend of optimization has emerged over the last year.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
how to add IIS SMTP to handle application/Scanner relays into office 365.

856 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