Solved

Dynamically add folders to Sharepoint365 or Skydrive

Posted on 2013-11-19
2
344 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 41

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 53

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

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

738 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