Copy Photos to OneDrive for Business
If you have a smartphone, you may know that if you have the OneDrive app installed, it can automatically upload your photos to OneDrive. However, the app does not allow you to upload photos automatically to OneDrive for Business. It has been an annoyance for many that Microsoft have decided that photos are personal, and that OD4B is not intended to be used for photos… For a while I have been manually performing the task to copy photos to OneDrive for Business. If you are reading this, then that’s what you have probably been doing too.
Copy Photos to OneDrive for Business
When you take a photo with your smartphone camera, the OneDrive app will upload it to the cloud, but only to a Live.com OneDrive account – the free 5GB that is given with an Outlook.com or live.com or Hotmail account. The app does not allow automatic upload to O4B, so many have to perform a manual task to copy photos to OneDrive for Business by downloading the photos from OneDrive to a computer, and then uploading them to OneDrive for Business by hand. It is possible to also select photos on your camera phone, and then “share” them to your OneDrive For Business – but both these methods need manual action.
Why is this a problem?
You may wonder why this may be a problem – Microsoft certainly do not consider it a problem.
If you have an Office 365 account, there are many reasons why the convenience of a camera in your pocket is part of your business process. I have had customers who need to take photos of assets in the field, and have these photos part of a business process – items that are damaged, need maintenance, just been fixed etc. There are so many business needs where photos have a business need, and the automatic upload feature is not only rapid and convenient, it could also be critical – for example Police taking crime scene photos or of a fleeing suspect, paramedics needing a photo checked by a doctor whilst the paramedic continues with patient care etc.
The personal version of OneDrive has a 5GB limit (you can get an extra 500MB for free by going here or here), but OneDrive for Business comes with 1000GB – and the cost of upgrading OneDrive personal to 1000GB ($10 per month) is more than Office 365 Business Essentials at $7.04 a month – and Business Essentials includes 1TB of OneDrive for Business plus Skype, Yammer, SharePoint and Exchange!
Flow
The solution I have used is Microsoft Flow – a component that is part of the Office 365 subscription. I have not found an Office 365 subscription that includes OneDrive for Business but does not also include Flow – so you should have access to both.
The Flow you need to create will monitor a folder in your personal OneDrive, and then create the file in your OneDrive4B. First, open Flow. This is an icon in your Waffle (top left, 9 dots) menu that is where you choose from other Office 365 apps. If it is not listed in your main Waffle menu, you may need to look in “All apps”.
I created a template called “Copy Photos from OneDrive to OneDrive for Business” – but if you cannot find it, here is how you can create it yourself.
- Log in to your Office 365 Portal with your Office 365 account. Open the Flow app – there may be some welcome wizards steps
- Create a new Flow. I recommend creating from blank, instead of selecting one that begins with OneDrive for Business
- Ensure you select OneDrive as the first connector, and not OneDrive for Business.
- Select the OneDrive connector object of “When a file is created”
- Enter your login details for your OneDrive account, and allow Flow to have permission to use the connector.
- Navigate to the folder /Pictures/Camera Roll from your personal OneDrive
- Add a new Flow step, search for OneDrive for Business
- Select the OneDrive for Business connector “Create file” – not move or copy
- Enter your login details for your OneDrive for Business account
- Select the Folder path that you want photos copied to – I chose the folder \Pictures
- Click in the File Name box, and select the attribute “File Name” – the one that has a OneDrive cloud next to it
- Click in the File Content box, select the attribute “File Content”
- Save your Flow, then press Done
- Take a test photo and wait a minute (or five)!
Simple, isn’t it? If you have been able to follow the steps, and it has worked properly, please spread the word by sharing a link to this page – there are so many people out there with this problem, I would love to have my solution help others.
Troubleshooting, questions, and problem solving
- The Flow will run on your Office 365 subscription, ensure that you are authenticated in to Flow with your “for business” login – as your “personal” Microsoft account does not have Flow
- Most people have problems with the authentication – remember it is from your OneDrive personal to O4B, so check the usernames relate to the services
- The bandwidth required to copy between the OneDrives is Microsoft’s – not yours. That means you only upload it once
- If you have any “private” photos that are uploaded to your own OneDrive, these will also be copied to O4B – I recommend either logging on to O4B and deleting them (quickly!), or being very careful about “private” bathroom selfies! If you delete a file from O4B, it is not deleted from your other OneDrive
- Similarly, if you delete a file from your phone, it might have already been copied to OneDrive, and then rapidly to O4B – depending on your mobile data speed
- If the flow fails for some reason (normally authentication), then when you fix the problem, it will copy all new files from the source to the destination, including those that were created on your OneDrive personal when the Flow was not working. Handy!
I came across your workaround in your comment over at the OneDrive page, tried it, and what do you know? It works! Although this Flow stuff makes me a bit uneasy for security reasons (too much stuff connected and interacting unseen in the background) and it’s not quite a panacea for native OD4B camera roll support, I may try this out for a couple of my users. Gonna see if I can figure out how to bring over all the existing photos, not just the new ones.
Thanks!
I cant seem to get the photos sync to my one drive for business folder. I followed all the steps but yet nothing is coming across.
Check the authentication account for both your OneDrive and OneDrive for Business accounts – remember they are different to each other. Then, go back in to the Flow, and press the little folder icon to ensure that it actually lists the folders from the right OneDrive – don’t just type a folder name. Finally, check that once you have saved your Flow, that it is activated or turned on.
Hope this all helps!