Apparently the ARM template you're using includes a definition of an NSG rule which is missing the Protocol parameter. You'd need to update the template - use https://learn.microsoft.com/en-us/azure/templates/microsoft.network/networksecuritygroups?pivots=deployment-language-bicep as a guide
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin