Hello @SoonJoo@Genting
It seems like the error is related to authentication. The error message suggests that the request is not authenticated.
To authenticate the request, you need to make sure that the value of the Authorization header is formed correctly. You can try to authenticate the request using the Azure CLI by running the following command
az login
This command will prompt you to log in to your Azure account. Once you are logged in, you can try to create the job again using the CLI command you mentioned earlier.
If you are still facing the same issue, you can try to check if you have the correct permissions to create a job. You can also check if there are any issues with the template.json file you are using.
If you are still unable to resolve the issue, please provide more information about your environment and the steps you have taken so far, so that I can assist you better.
If you are satisfied with the answer, please "Accept as Answer" and give a thumbs up, so that you can help others in the community looking for remediation for similar issues.