Solved

Dynamically add folders to Sharepoint365 or Skydrive

Posted on 2013-11-19
2
302 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 38

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

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …
how to add IIS SMTP to handle application/Scanner relays into office 365.

759 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now