Automatically import photos and videos from OneDrive to shared iCloud photo album

Can I create some sort of process that will regularly (on a schedule I guess) pull photos and videos from my OneDrive account to a shared album in my iCloud account?

For example, could I create an Apple shortcut on my iPhone or iPad that connects to my OneDrive folder on my iPhone or iPad files app. And then copies all photos and or videos created in the OneDrive folder since the last date/time the shortcut was run? And deposits them in my shared iPhoto album. Or even create a new shared photo album named as the time/date that the shortcut was ran?

Interestingly, Microsoft appears to have created an IFTTT automation to do the reverse - iCloud Photos to OneDrive - IFTTT

Not finding one to go the other way though.

Thank you. This might work for me. I just have to install the iCloud app thing on my PC. I can do it that way. I’ll give it a try.

Isn’t the issue that an Apple Photos library is more than jpgs in a folder structure in the cloud? It’s their own library format with metadata, edits and stuff. But that IFTTT automation @knewman found suggests it can be done.

There are some services you can subscribe to that claim to sync between different clouds. Multcloud was one I think.

I don’t attempt to automatically merge my photos. Ones taken with my smartphone and ones taken with cameras have separate workflows.

1 Like

Yes, there are no files and folders, it is a database, of sorts.

The OP could try writing a shortcut to look in OneDrive for files added since the last run (here, you need something like Data Jar to store the last run time).

  • Get the last run date from Data Jar, if none, set it to 1st January 1970
  • Open the photos folder in OneDrive
  • Select all files in the folder
  • Loop through the files and post them to the required album in Photos
  • Write the current data and time to Data Jar, so we have the correct kicking off point for the next run.

That would be my guess. I don’t have OneDrive installed on my phone to test it out, but Photos certainly has the option to add a photo to a specific album. You would just need to ensure the album is flagged as being cloud only (that a local copy isn’t stored on the device), unless you have enough local storage, that it doesn’t matter.

1 Like

If OP has a Mac then can probably do it with Shortcuts or Automator if they have OneDrive installed

1 Like