A Microsoft file hosting and synchronization service.
Hello,
No, OneDrive cannot sync photos from iCloud. It can only sync photos from the phone's local storage.
So, if your iPhone have "Optimize iPhone Storage” turned on, your phone keeps only placeholders locally. The real files stay in iCloud. OneDrive only uploads local files, not cloud placeholders. If you want your files to both OneDrive and iCloud, you need to turn Optimize iPhone storage off.
See this support article here: https://support.microsoft.com/en-us/office/fix-problems-uploading-files-on-the-onedrive-website-9afcc4a0-e344-4bc9-9c9d-59d3e802247e