Ensure that Azure Media Services have Content Key Policy configured.
A Content Key Policy in Azure Media Services dictates how content keys, ensuring secure asset access, are delivered to end clients. It allows setting requirements or restrictions that keys with specific configurations must meet before being delivered to clients.
Modify Media Service account and add content key policy.