@Pidan , Adding to Andriy's suggestions.
Apologies, you’re experiencing this issue error while trying to add an App Service Managed Certificate (ASMC) to your App Service. As the error message indicates that there is a duplicate certificate with
the same domain name that is either available or in a pending state.
Typically, I have seen similar cases/error message occurring- anything blocking, such as an existing certificate, IP Restriction or path mapping, wait for a few hours to expire the current request and then re-try the operation.
To isolate the issue, you may try the following steps:
-Please make sure that the A record of the domain is mapped properly to the IP address of the web app. Also, make sure your web app is accessible from the public network and does not have any IP restrictions set up.
-Based on the duplicate error message, check if there is an existing certificate with the same domain name in your App Service from your previous attempt (~pending). You can do this by navigating to the Certificates section in the Azure portal and checking if there is a certificate with the same domain name (and it’s state -e.g pending)
-The free ASMC has some limitations, please take a look.
As Andriy mentioned, the free certificate is issued by DigiCert. For some top-level domains, you must explicitly allow DigiCert as a certificate issuer by creating a CAA domain record with the value: 0 issue digicert.com. Reference doc.
Kindly let us know how it goes, I’ll follow-up with you further.
Note: Kindly do not share any PII on public forums. I have edited these info from your question.