Hi @Kaushalendra Kumar ,
Thank you for your question.
The connection to both AKS and ACR would not be available when the features you mentioned are enabled, since the public agents (MS hosted) are using unpredictable IPs.
To work around this, I would consider using self-hosted agents, that have direct access to ACR's private link, and the AKS cluster, it would even work if you decided to go with a private AKS instead of authorized ranges.
Please check this document which also mentions the above points.
Also, check this blogpost for the Private AKS connection.
Thank you.
Please Accept the answer if the information helped you. This will help us and others in the community as well.