Hello Apurva Pathak,
Thank you for posting your query here!
If the AD DS computer account for your Azure Storage File share cannot be recovered, you can try the following steps to restore access: Since you mentioned that recreating the account with the same name fails due to an "object already exists" error, you can try creating a new computer account with a slightly different name in AD DS. Update the Azure Storage File share configuration to use this new computer account.
If the original computer account object still exists in a corrupted or orphaned state, you may need to clean it up manually. This can involve removing the remnants of the old object from AD DS.
After creating a new computer account, re-establish the trust relationship between your on-premises AD DS and the Azure Storage File share. This involves updating the Azure Storage configuration to point to the new computer account and ensuring that the necessary permissions and configurations are applied.
Also, ensure that the new computer account has the necessary permissions in AD DS and on the Azure Storage File share.
Note: Consider enabling the AD DS Recycle Bin if it is not already enabled. This feature allows for easier recovery of deleted objects in the future.
Do let us know if you have any further queries. I’m happy to assist you further.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.