Azure / Azure/Azure-Network-Security
CName shows missing if FQDN has mixed case.
- Dominant language
- PowerShell
- Stars
- 942
- Forks
- 360
- PR merge metrics
- No merged PRs in 30d
Description
**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.
Contributor guide
Assessment
This issue has not been assessed yet.