@Mohammed Thahif BK , You should be able to achieve this either with manual failover using Azure DNS or automatic failover using TM. You can have only one TM profile with priority routing method configured across endpoints. Here is an Azure doc that clearly explains about handling DR using Azure DNS and Azure TM.
----------
Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.