Hello Saravanan Subbaiah,
Welcome to microsoft Q&A,thankyou for posting your query here
Ensure that the ASR configuration is correct and consistent on both the primary and recovery sites.
Check if the storage account security configuration is configured correctly.
Verify that the NSG rules on the subnets where your VMs are located allow traffic to the Office 365 endpoints.
Add or modify outbound rules to permit traffic to the necessary Office 365 IP ranges.
If you are using a proxy, ensure it is correctly configured to allow traffic to Office 365 endpoints.
Check the proxy settings on the VMs to ensure they can reach the necessary URLs without being blocked or filtered.
Hope this helps you.