If the thumbnail is in the same asset as the video, when you create the locator (publish) you would have to use the Predefinied_DownloadAndClearStreaming streaming policy to allow for the thumbnail download. Note that the 'Predefined_ClearStreamingOnly' means that only the MPEG-DASH, Smooth Streaming, or HLS protocols can be used. A download of the JPG / PNG will not work over those protocols. Keep in mind that with the DownloadAndClearStreaming policy this means that the MP4 files in the asset can be downloaded as well. Additionally, if you use content protection (DRM) on the streaming policy the download for the thumbnail will not work.
If you would like to use separate assets for your thumbnail similar to what you had for v2, you can create a custom transform that produces just the thumbnail with the following script and the instructions on https://video2.skills-academy.com/en-us/azure/media-services/latest/custom-preset-cli-howto.
{
"@odata.type": "#Microsoft.Media.StandardEncoderPreset",
"codecs": [
{
"@odata.type": "#Microsoft.Media.JpgImage",
"stretchMode": "AutoSize",
"start": "{Best}",
"quality": "70",
"layers": [
{
"width": "480",
"height": "270"
}
]
}
],
"formats": [
{
"@odata.type": "#Microsoft.Media.JpgFormat",
"filenamePattern": "Thumbnail-{Basename}-{Index}{Extension}"
}
]
}