Hi jameel khan,
Thanks for reaching out to Microsoft Q&A.
The error you are seeing, "ACR tasks requests for the registry are not permitted", indicates that ACR tasks are not allowed for the specified registry. This usually happens because of one of the following reasons:
- The account or service principal you're using may not have the necessary permissions to perform ACR tasks, such as build or push. Ensure that the account you are using has the correct azure role assigned, such as "Azure Container Registry Contributor" or "Owner."
- The ACR instance (
readitjkacr
in your case) might not have ACR tasks enabled. Ensure that the registry is configured to allow tasks. - If you are using a free tier ACR instance, tasks might be restricted. You may need to upgrade to a higher SKU (ex., Basic, Standard, or Premium) to enable ACR tasks.
Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.