Good day!
Welcome to the Q&A Platform for Microsoft! We appreciate you posing your query here.
NOTE: Check the expiration date for the domain from the below document, which tells us whether the domain is legitimate or not. If it has not expired, it should work.
Refer:
https://learn.microsoft.com/en-us/azure/app-service/manage-custom-dns-buy-domain#renew-the-domain
Updated Note: That updating the name server in Azure is not supported.
And here's one Approach you can try with DNS delegation
Refer:
https://learn.microsoft.com/en-us/azure/dns/dns-domain-delegation
In case you are satisfied that your questions have been answered, kindly click "Upvote" and "Accept Answer" on the post.
I value your time and look forward to hearing from you on this.
Regards,
Ganesh