@Long Nguyen Thanks for reaching out to Microsoft Q&A. I understand that you are having issues with uploading file with Azure CDN where it throws error- BlobTypeNotSupported (400): Block blobs are not supported.
As seen from a similar issue here- https://github.com/Azure/azure-cli/issues/977
If you are using a Premium Page Blob and trying to upload a block blob, you will see this error. Please use a Premium Block Blob type storage account if you want to rather upload Block Blobs or a standard general purpose v2 account. Please refer to the different types of storage accounts here- https://learn.microsoft.com/en-us/azure/storage/common/storage-account-overview#types-of-storage-accounts
Hope this helps. Please let us know if you have any more questions and we will be glad to assist you further. Thank you!
Remember:
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
Want a reminder to come back and check responses? Here is how to subscribe to a notification.