An Azure service that provides a general-purpose, serverless container platform.
dear Mattias hi,
this usually happens because managed cert issuance for apex domains in azure container apps is more sensitive than for subdomains and it depends not only on dns correctness but also on hostname binding state and http validation reachability.
if ingress.customDomains shows bindingType disabled it means the custom domain is not fully bound yet at the environment level and certificate validation will not proceed even if the dns records look correct. first make sure the apex domain is properly added and validated at the container app level and not only at the environment static ip level.
Managed certificates in aca rely on http validation via digicert so the apex domain must resolve publicly to the environment static ip and port 80 must be reachable from the internet without redirect loops or firewall restrictions. even if http works from ur browser it must return a valid response for the validation path used during issuance. also double check that there is no existing conflicting ssl binding at the environment or app level because stale bindings can keep the cert in pending state. Since subdomains work it confirms the environment is fine and the issue is specific to apex validation flow.
if everything looks correct try removing the apex custom domain completely then re add it and recreate the managed certificate because sometimes the initial validation token does not refresh properly. unfortunately aca does not expose detailed digicert issuance logs so activity log and diagnostic logs at the container apps environment level are the only place to check for backend errors. in most cases apex pending issues are caused by incomplete hostname binding or http validation not being fully reachable even though dns looks correct.
rgds,
Alex