Allow Dots in Site Title
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
It appears dots are not allowed in site title when creating a site using WebUI or trying to rename it either with Set-PnPSite or SharePoint Online Admin Center.

However, when I use New-PnPSite and specify Alias

There is a restriction in PnPFramework:

https://github.com/pnp/pnpframework/blob/29e8d01aff7899f0aa1f355f14113b2d30b90dfa/src/lib/PnP.Framework/Utilities/UrlUtility.cs#L224
Please kindly advise if you can adjust that restriction by any chance? It does not really make a lot of sense to me having such limitations for SharePoint Online Sites.
Thanks in advance!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/lib/PnP.Framework/Utilities/UrlUtility.cs around line 224 and inspect the restriction applied to site titles or aliases. Compare the behavior described for New-PnPSite with WebUI, Set-PnPSite, and SharePoint Online Admin Center; done means valid site titles containing dots are accepted without weakening unrelated URL validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100