Couple of changes done, partially with the help of Alan Wallace of Oregon Tech:
- Chunked uploading of large files
- Retry of uploads (up to 3 times)
- Warning when uploading 5k+ items to the same library
- Replace _w and _t folder improvement
- No longer force a verify when uploading folders to Sharepoint
Get it here
Version 3.10 of OneDriveMapper has been released!
- handle the new tile / prompt that appears in IE login mode where Microsoft no longer always redirects to the portal
- Progress bar color is now a configurable option (cloud/non cloud)
- alphabetic ordering of configs (cloud only)
- Fixed auto update loop issue where auto update would break itself for subsequent updates.
- When restarting self (switching auth mode or auto updating) properly hide the console if this was set
Important Auto Update Instructions
If you were using Auto-Update, DO NOT do so for this version. Use the MSI to replace the old version (see last fixed issue).
New Azure AD Signin experience
As some may have read, Microsoft is previewing a potentially disruptive change without advance notice. My tenants don’t yet display the new behavior so I cannot test if OnedriveMapper will be affected. I haven’t heard of any issues yet 🙂
Get the new version here
The ‘old’ Onedrive for Business client (groove.exe) is notoriously bad at synchronizing Sharepoint Online Libraries. If you want to block Onedrive from syncing Sharepoint Online libraries, just run the following command:
Set-SPOTenantSyncClientRestriction -GrooveBlockOption "HardOptIn"
Your users will receive a message to update their client.
As, generally, we want to know what goes on in our environment, I like to enable Auditing wherever I can. Sharepoint is a more and more important resource where we store our data. Auditing can be very useful if files dissapear, auditors need specific information, or worse, cryptolockers rename all your files.
As setting audit logging through the interface is well documented, I wanted to share the Powershell way of doing this, assuming you’ve already installed the Sharepoint Client Components:
[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client") | Out-Null [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime") | Out-Null
$Context = New-Object Microsoft.SharePoint.Client.ClientContext("INSERT YOUR SITE URL HERE")
$secPassword = ConvertTo-SecureString "YOUR PASSWORD" -AsPlainText -force
$Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials("YOUR LOGIN",$secpassword)
$Context.RequestTimeout = 16384000
$Context.Credentials = $Credentials
#set audit logging for the site collection to ALL
$Context.Site.Audit.AuditFlags = "All"
Note: O365Undo is also free and can probably help you fix your crytolocker problem more precisely as it is the next version of O365AntiCryptoLocker
At OGD we sometimes have to deal with users that got infected with CryptoLockers and have both automated and controlled systems in place to prevent damage or restore data to any fileshares. An infection on Sharepoint Online or Onedrive has not yet happened, but eventually it of course will and I like to fix things before they break.
As Sharepoint Online and Onedrive for Business natively use versioning on files, you basically have no real risk of losing data to Cryptolockers, your RPO (Restore Point Objective) is 0. However, restoring the previous versions of files is quite a lot of work if done manually, so your RTO (Restore Time Objective) could be weeks or more.
Unless of course, you use Powershell. I’ve written a script that will restore the most current previous version of any file in a given Document Library.
Example usage for a Onedrive site:
.\O365AntiCryptoLocker.ps1 -siteURL "https://o365mig-my.sharepoint.com/personal/test1_o365mig_onmicrosoft_com" -login "mylogin" -password "mypassword" -libraryTitle "Documents"
Or for a Sharepoint Online Site:
.\O365AntiCryptoLocker.ps1 -siteURL "https://o365mig.sharepoint.com/site1" -login "mylogin" -password "mypassword" -libraryTitle "Documents"
You’ll need the Sharepoint Client Components installed, and you’ll have to have sufficient permissions on the library and its files.
Version 0.9 of O365Migrator is now available as a free download.
What was changed?
- Differential transfer: upload only changed/new files. (does not process renames, moves and deletes yet!)
- Subfolder targeting: upload to a specific subfolder instead of the root if specified
- Better library name detection when admin and user have different language settings
You can find the new version here.
Version 0.8 of O365Migrator is now available as a free download.
A frequently asked feature has been added to O365Migrator: in addition to migrating all your user’s homedirectories, O365Migrator can now also migrate entire fileservers (shares) to Sharepoint Online!
You can find the new version here.
Version 2.28 of OneDriveMapper has been released.
- Added support for Auto-Acceleration in Sharepoint Online in combination with ADFS (or other SSO solutions).
- Added a fix that would prevent mapping of the drive if a user was already logged in without the ‘keep me logged in’ checkbox checked.
Get the new version here
This is the first post in a series about moving to Onedrive for Business and/or Sharepoint Online from traditional fileshares and/or homedirectories, in bulk, without user interaction.
- Making your data compliant with Office 365 standards, and keeping it that way
- Moving the data (in bulk)
- User and endpoint transitioning
Many of my employer’s clients are transitioning to a Cloud First IT model. Think triple A, work anywhere, anytime, anyplace.
This poses a number of challenges on Continue reading Migrating files and folders to Onedrive for Business and Sharepoint Online without user interaction part 1
The first public version of the O365BulkDatacleaner has been released.
This script is an addition to O365Datacleaner and will allow you to run the original script over many target locations simultaneously, using a CSV file as input.
This is the simplest and most reliable method currently available to make, for example, all the data on your fileservers spread out over homedirectories completely compliant with Onedrive for Business or Sharepoint Online’s requirements.