Had to do this a little differently than all of the blog posts I’d seen because using an Internal virtual switch and trying to allow it to share my local network resulted in an IP address conflict.
The fix was to create an External virtual switch with “Allow management operating system to share this network adapter” checked. Creating this takes a minute and Internet connectivity is dropped for a second while it applies changes.
Then, in the VM settings, select this new switch as the network adapter.
The VM might need to be turned off when making this setting change, but it worked for me while the VM was running.