RajaBoopathy to add to Sohail's response, you need to choose one of two approaches for setting up your Surface Hub 3:
1) Set it up as a Microsoft Teams Rooms on Windows device (which is its default factory-shipping platform). If you intend to run it as a Teams Rooms on Windows device, then Sohail's guidance is accurate, and you must follow all the same published guidance for Teams Rooms on Windows platform/OS support (including steps on "bring your own OS image" which are published online). You would also leverage an Exchange Online Resource Account (with Teams Rooms proper licensing) for logging into the Teams Rooms client (as well as for completing any other Teams Rooms device/account-based steps such as Entra ID joining the device, etc.).
OR:
2) Reconfigure the Surface Hub 3 to run "normal" Windows 11 Pro/Enterprise. This is a supported reconfiguration (documented here) for those devices you intend to basically serve as a 50"/85" Surface Pro tablet instead of running the Teams Rooms experience. Most customers only choose this option for those Surface Hubs that are intended to run in individual people's offices, not shared use environments like conference rooms/collab spaces. If you choose this option, you must procure/provide the Windows 11 OS image and provide your own Windows license keys (as documented in the article linked above). And after imaging it with "normal" Windows 11, you would set up the device like any non-Hub Windows 11 device, with the individual User Account for the person who will "own" the device (i.e. in whose office it will be).
There isn't a supported or encouraged option for a merging of these two options (and "normal" windows 11 Pro isn't supported as a baseline for Teams Rooms on Windows), which is why trying to use a Resource Account on a "normal" Windows 11 OS experience isn't working as you experienced (and is why using a User Account isn't working properly either with the Teams Rooms configuration). Based on your original message, it seems you want this to be a Teams Rooms on Windows device. Therefore my recommendation is to perform a recovery to the original factory image that came on the Surface Hub 3 (instructions here) and go from there.