As discussed in the comments you are expecting different what-if results but unfortunately what-if can produce a lot of noise (false positives) so it cannot be trusted blindly. You can try the deployment on another storage to see if all will be configured accordingly before applying to your production storage account. Additionally Bicep team is working on a new what-if implementation that will reduce what-if noise significantly. That new implementation will be available for deployment stack deployments and not for regular deployments.
Please upvote and select as answer.