If you are get the error "The Azure Synapse resource provider (Microsoft.Synapse) needs to be registered with the selected subscription." while creating your synapse workspace, you will have to check a couple of things
1- Ensure the name you are giving as a workspace name starts with "synws", if you dont do that you will continue get an error
2- Check your subscription if Azure.synapse is already Registered as a provider