Short answer: If AirDrop stops working on Macs managed with Microsoft Intune, and the Mac doesn’t show up for anyone else, check the macOS firewall before anything else. A firewall rule that blocks incoming connections for rapportd, or a policy that blocks all incoming connections, stops the Mac being seen. Because the firewall is managed, the fix has to go in the Intune firewall profile, not on the Mac.
A Gold Coast energy business asked us why AirDrop had stopped working between two of their work MacBooks. Wi-Fi and Bluetooth were on, AirDrop was set to Everyone, and one Mac simply never appeared on the other. Restarts didn’t help. The cause was the managed macOS firewall: one setting in an Intune policy and one blocked background process were stopping the Mac from announcing itself. We fixed both in Intune and AirDrop worked again the next morning. Here is what we found and how to fix it.
Fixed by Emma Mitchell, Senior Engineer at GCIT. Written up by Elliot Munro, CISO.
Symptoms
On a Mac enrolled in Microsoft Intune:
- The Mac doesn’t appear in the AirDrop list on other Macs or iPhones, even when they are side by side.
- Wi-Fi and Bluetooth are both on and AirDrop is set to Everyone for 10 Minutes or Contacts Only, but nothing changes.
- Other Continuity features such as Handoff, Universal Clipboard or Sidecar may also stop working.
- In System Settings > Network > Firewall > Options, the settings are greyed out with a note that they are managed by a profile.
- Trying to change the firewall from Terminal with
socketfilterfwreturns:
Firewall settings cannot be modified from command line on managed Mac computers
People also search for this as “AirDrop not working Mac”, “Mac not showing up in AirDrop”, “AirDrop not finding devices on a work Mac” or “Intune AirDrop blocked”.
Affected Software
- Application: AirDrop and other Apple Continuity features
- Platform: macOS on Macs managed by Microsoft Intune (or another MDM that controls the firewall)
- Related Services: macOS Application Firewall, Intune macOS compliance policies and configuration profiles
Cause
AirDrop needs the Mac to accept incoming connections from nearby devices. Two firewall settings can quietly stop that on a managed Mac:
- “Block all incoming connections” is turned on. Microsoft notes that this setting blocks all sharing services, and AirDrop is one of them. In our case it came from the Firewall > Incoming connections setting in an Intune macOS compliance policy, which overrode the firewall configuration profile that said the opposite.
- A per-app firewall rule blocks rapportd. rapportd is a built-in macOS background process that Continuity features use to find nearby devices. With it blocked, the Mac never advertises itself, so other devices can’t see it. The file transfer part of AirDrop (sharingd) was still allowed, which is why nothing else looked wrong.
The second one was the real blocker here. An explicit “block” rule for an app wins over the Automatically allow built-in software and Automatically allow downloaded signed software options, even when both are turned on. And because the firewall is managed by a profile, you can’t change the rule on the Mac itself.
Resolution
Step 1: Confirm what the firewall is doing on the Mac
- Open System Settings > Network > Firewall and select Options.
- Check whether Block all incoming connections is on.
- Scroll the list of apps and look for rapportd set to Block incoming connections.
You can also check from Terminal, which works even when the settings are managed:
/usr/libexec/ApplicationFirewall/socketfilterfw --getblockall /usr/libexec/ApplicationFirewall/socketfilterfw --listapps
Step 2: Stop the compliance policy from blocking all incoming connections
- In the Microsoft Intune admin center, go to Devices > Compliance and open your macOS compliance policy.
- Under System Security > Firewall, set Incoming connections to Not configured unless you really do need to block every sharing service.
- Make sure your macOS firewall configuration profile and the compliance policy agree on the firewall settings (firewall on, stealth mode, block all incoming off), so one isn’t fighting the other.
Step 3: Allow rapportd in the firewall profile
- Open the macOS configuration profile that manages the firewall (in the Settings catalog this is the Firewall category).
- Under Applications, add an entry with Bundle ID
com.apple.rapportdand Allowed set to True. - Save and assign the profile, then sync the Mac from System Settings > General > Device Management or from the Company Portal app.
- Back on the Mac, check that rapportd now shows Allow incoming connections in the firewall options.
Step 4: Test AirDrop
- Make sure Wi-Fi is on. AirDrop uses the Wi-Fi radio even if the Mac is plugged into Ethernet.
- Open Finder, choose AirDrop and set Allow me to be discovered by to Everyone for 10 Minutes for the test.
- Check the Mac now appears on the other device and send a test file.
Policy changes can take a few hours to reach every Mac. If it still fails after the profile has applied, stealth mode is the next setting to test.
Important Notes
- The Applications list replaces, it doesn’t add. When the Intune firewall profile includes an Applications list, it replaces the per-app rules people have built up on each Mac. Rules that users clicked “Allow” on in the past may disappear, so test the apps your team relies on after the change.
- Keep the firewall on. The fix is to allow the right built-in process, not to turn the firewall off. Leaving “allow signed software” on keeps signed apps working.
- Compliance settings are not just a report. For macOS firewall settings, a compliance policy can push its value onto the Mac, so check compliance policies as well as configuration profiles when a managed setting behaves unexpectedly.
- Personal Apple Accounts are fine. AirDrop between work Macs doesn’t need a work Apple Account, and the account wasn’t the problem here.
Related Resources
- Apple Support: Use AirDrop on your Mac
- Apple Support: Change Firewall settings on Mac
- Microsoft Learn: macOS compliance settings in Intune
- Microsoft Learn: Firewall policy for endpoint security in Intune
- Fix: “The File Could Not Be Shared Due to Account Policy”
- Fix: “Cannot Add to Wallet” on a Work iPhone
- Fix: “Approval Required” for Apple Internet Accounts on iPhone
- Software we support at GCIT
Managing Macs alongside Windows PCs and want them secure without breaking the features your team uses? Get in touch with our team.