Hello there,
Update your drivers and BIOS/UEFI firmware from PC or motherboard maker's Support Downloads web page, using the full model number, Serial Number or Dell Service Tag on the sticker. Compare the latest drivers available for download with the ones presently installed in Device Manager reached by right clicking the Start button. Make sure you have the latest BIOS or UEFI firmware, Chipset, Display (Video), Sound, USB3, Bluetooth, Network and all other drivers, or else download and install the latest now.
Similar discussion here https://answers.microsoft.com/en-us/windows/forum/all/switch-pro-controller-not-detected-by-my-pc/f8424e77-4764-4fe4-b2e0-25279394bead
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–