Check the global switch before anything else
A global toggle off makes every per-app setting irrelevant. It sits at the top of each privacy page and is the first thing to verify when an app cannot see the device.
Settings > Privacy & security > Microphone