We have set a configuration profile to enable firewall and block all incoming connections. However this option has led to disable airdrop, airplay, and Bluetooth and caused them to stop working since they're all sharing features. Is there a way to block incoming connections except AirDrop airplay and Bluetooth?
Yes there is! You need to allow those applications access in your firewall configurations, as it is app based. You want to check the box for
App-Specific Incoming Connections and add
sharingd to allow AirDrop through the firewall. I am not sure what process/app runs bluetooth but do the same for bluetooth