Setting the Mac Desktop Wallpaper using Microsoft Intune

I am trying to set company managed MacOS machines background using Microsoft Intune. I currently have a script that pulls from the Internet that changes backgrounds using pictures coming from Bing. Is there a way to change from a picture on the mac itself or would I have to use an Internet image holding system

Setting the Mac Desktop Wallpaper using Microsoft Intune
 
 
Q