An Azure service that provides streamlined full-stack web app development.
Based on the details provided, the CNAME itself appears to be resolving correctly, so the issue seems to be occurring during Azure's custom-domain/TXT validation rather than DNS resolution.
A few things I would check:
Confirm that kcvue.mmoser.com is not already associated with another Static Web App or Azure App Service, including an old/deleted resource. Azure can retain the previous association for some time.
Since Enterprise-grade edge requires TXT validation, try removing the stuck custom-domain entry and adding kcvue.mmoser.com again. Generate a new TXT validation record.
For the subdomain, the TXT record should normally be created under: _dnsauth.kcvue.mmoser.com
Verify it publicly with: nslookup -type=TXT _dnsauth.kcvue.mmoser.com
If Azure fails with domainName is invalid before it even generates the TXT token, this may indicate an Azure-side custom-domain association/state issue rather than a DNS propagation problem.
Also check whether the DNS zone contains restrictive CAA records that could prevent certificate issuance.
The certificate showing *.msha-slice-2-hk1-1-ase.p.azurewebsites.net would also be expected to cause a hostname mismatch until Azure successfully validates the custom domain and provisions the certificate.
If the domain is not associated with any other Azure resource and TXT generation still fails, I would recommend opening an Azure Support request and providing the Static Web App resource ID and the exact domainName is invalid error, because the failure is occurring before TXT validation can actually complete.
Microsoft has documented similar Static Web Apps cases where the same error occurred even though the DNS configuration was correct.