Hi Ameen ,
Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!
Adding more information to the above response!
In Azure Blob Storage, access policies are applied at the container level, not at the individual blob level. This means that if a container is set to public, all blobs within that container will inherit the public access policy and be accessible without authentication
To restrict access to certain blobs using a SAS token while keeping the container public, you would need to move those specific blobs to a separate private container. This way, the private blobs can only be accessed using a SAS token, while the public container remains accessible without restrictions for other blobs
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.
If you have any other questions or are still running into more issues, let me know in the "comments" and I would be happy to help you.