There are three ways to disable or enable Network scanning in Windows Defender on Windows 11/10. Each of these will allow network scanning. PowerShell Method Group Policy Method Registry Editor ...
If you just connected the Scanner, make sure to install the driver. Windows 11/10 would usually find it and list it under Settings > Devices > Printers and Scanners. Make sure its status is online ...