Hi @lalajee
SMB is required for SCCM. You closing ports on your SCCM servers for SMB will most likely cause issues.
https://learn.microsoft.com/en-us/mem/configmgr/core/plan-design/hierarchy/ports
----------------------------------
If this is helpful please accept answer.