private VideoModel tryConvertDriveItemToVideoModel(
      Optional<String> albumId, MicrosoftDriveItem driveItem, UUID jobId) {
    if (!driveItem.isVideo()) {
      return null;
    }

    VideoModel video =
        new VideoModel(driveItem.name, driveItem.downloadUrl, driveItem.description,
            driveItem.file.mimeType, driveItem.id, albumId.orElse(null), false /*inTempStore*/, null);
    monitor.debug(
        () -> String.format("%s: Microsoft OneDrive exporting video: %s", jobId, video));
    return video;
  }
Exports Microsoft OneDrive photos using the Graph API.

<p>Converts folders to media albums.
extensions/data-transfer/portability-data-transfer-microsoft/src/main/java/org/datatransferproject/transfer/microsoft/media/MicrosoftMediaExporter.java