This is more or less possible on with Entra ID non B2C tenant. You either need to make sure that the users are guest users in the xyz directory, or move the container to that directory. As long as they at least have guest access to tenant you can assign them permissions to use the storage container.
Access can be scoped to the level of the subscription, the resource group, the storage account, or an individual container or queue.
Also in the above shared doc we have used Blob Storage's Static Website:
Blob Storage's Static Website hosting feature gives us a default container to serve static web content / html / js / css from Azure Storage and will infer a default page for us for zero work.
Thanks,
Akshay Kaushik
Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.