It starts giving the warning for overlap To detect if the subnet is overlapping and overlapping subnet can't be peered as per attached screenshot.
Do not overlap networks of each VNet.
Ensure non-overlapping address spaces. Make sure your VNet address space (CIDR block) does not overlap with your organization's other network ranges
Please don’t forget to Accept the answer
and up-vote
wherever the information provided helps you, this can be beneficial to other community members.