Hello Karthik palani,
I would recommend you take a look at the official KDS article, as for instance:
Extract:
Domain Controllers (DC) require a root key to begin generating gMSA passwords. The domain controllers will wait up to 10 days from time of creation to allow all domain controllers to converge their AD replication before allowing the creation of a gMSA. Waiting up to 10 days is a safety measure to prevent password generation from occurring before all DCs in the environment are capable of answering gMSA requests. Trying to use a gMSA too soon might fail when the gMSA host attempts to retrieve the password, as the key may not have been replicated to all domain controllers. gMSA password retrieval failures can also occur when using DCs with limited replication schedules or if there's a replication issue.
And
Deleting and recreating the root key may lead to issues where the old key continues to be used after deletion due to caching of the key. The Key Distribution Service (KDC) should be restarted on all domain controllers if the root key is recreated.
--If the reply is helpful, please Upvote and Accept as answer--