I was only able to fix this with the ADB command and giving it 'extra' permissions. I'm ecarlin in that post.
Let me see if I can dig them up. These were commands necessary to get it going - both on one UI 6 and then this new pixel on 14.
These commands allows Tasker to finally have the right permissions. Odd though the developer either glosses over my posts and questions here or I am not visible.
adb shell pm grant net.dinglisch.android.taskerm android.permission.DUMP
adb shell pm grant net.dinglisch.android.taskerm android.permission.PACKAGE_USAGE_STATS
//Specific for auto share
adb shell appops set com.joaomgcd.autoshare WRITE_MEDIA_AUDIO allow
adb shell appops set com.joaomgcd.autoshare WRITE_MEDIA_VIDEO allow
adb shell appops set com.joaomgcd.autoshare WRITE_MEDIA_IMAGES allow
adb shell appops set com.joaomgcd.autoshare MANAGE_EXTERNAL_STORAGE allow
adb shell appops set com.joaomgcd.autoshare NO_ISOLATED_STORAGE allow
No matter how many times I cleared storage to try and get the permission prompt to redo it... None of it worked say for this.
Hope it helps you.
Erik