vendredi 20 mars 2015

Scheduling tasks for SharePoint Online



As we are venturing into the Office 365/SharePoint Online world, there will be the need to run some routine maintenance scripts on schedule. For example, adding a service account as an administrator to OneDrive for Business sites. I have the script to do it, have tested it, it works without issue.


The part I'm stuck on is how to set this up as a scheduled task since it requires connecting to our -my site collection to do it's work. How do people handle the username/password storage in this scenario?


Would this be better to be done as a console application so the username and password is stored and hidden in the compiled executable versus using PowerShell?








0 commentaires:

Enregistrer un commentaire