Hello @Varun Singhania ,
Since you have mentioned ASN in your question, I believe you are referring to ExpressRoute peering and not Vnet peering.
If that is the case, you can validate the below:
If enabling a peering fails, check if the primary and secondary subnets assigned match the configuration on the linked CE/PE-MSEE. Also check if the correct VlanId, AzureASN, and PeerASN are used on MSEEs and if these values maps to the ones used on the linked CE/PE-MSEE. If MD5 hashing is chosen, the shared key should be same on MSEE and PE-MSEE/CE pair.
Please refer : https://learn.microsoft.com/en-us/azure/expressroute/expressroute-troubleshooting-expressroute-overview
Kindly let us know if you need any further assistance on this issue from our end.
----------------------------------------------------------------------------------------------------------------
Please don’t forget to "Accept the answer" wherever the information provided helps you, this can be beneficial to other community members.