Azure/Azure-Network-Security

CName shows missing if FQDN has mixed case.

tee-roy opened this issue · 1 comments

Describe the bug
Getting incorrect results for App Services, could be others as well, with mixed case for the name / FQDN.
Azure Front Door seems fine because in Azure it shows the mixed case and doesn't convert it to lower.

Reproduce
Steps to reproduce the behavior:
Create App Service with mixed case sensitivity: Example: MyCustomApp01.azurewebsites.net.
The App will show the domain as all lowercase for App Services under default domain.
create a CNAME with all lowercase pointing to the mixed case MyCustomApp01.azurewebsites.net

Expected behavior
A clear and concise description of what you expected to happen.
Expecting a match in App service domain name and DNS. But since the case does not match, it is showing as not matching. Perhaps adjust the script to force everything to lowercase then compare.

Screenshots
If applicable, add screenshots/images to help explain your problem.

Environment- if applicable

  • What version of CLI was used [Az –version]

Desktop (please complete the following information if applicable):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Logs- if applicable

  • If logs are available, please provide relevant snippets

Additional context
Add any other context about the problem here.

@tee-roy Thank you for submitting this issue. We will get back to you in the next 72 hours.