If you are installing Windows 11 by upgrade and your WD Discovery doesn’t work, try uninstalling WDD completely and then reinstall it using the latest August 2021 v 4.3.336 build as of this writing. Upgrading Windows 10 to 11 is a very slow process while installing Win11 anew is fairly quick so most users may prefer to not do an upgrade but do a new install.
WD Discovery for Windows
WD Discovery Full installer for Windows
https://download.wdc.com/wdapp/WD-Discovery-win-full.zip