Solved

Dynamically add folders to Sharepoint365 or Skydrive

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Find out what you should include to make the best professional email signature for your organization.
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

863 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

28 Experts available now in Live!

Get 1:1 Help Now