Forum Discussion
nabin pokharel
Aug 09, 2018Copper Contributor
Sharepoint team site created from Microsoft Teams to prefix "teams"
Hi,
Microsoft Teams creates SharePoint team site on new team creation automatically.
By default, the url will be like: mycompany.sharepoint.com/sites/{TeamName}
Is there any way to add word"/teams/" prior to the TeamName to make it like:
mycompany.sharepoint.com/teams/{TeamName} OR
mycompany.sharepoint.com/sites/teams/{TeamName}
Thanks,
Nabin
Not setting it as default but here's how to create it under /teams/
Create new Site under Other Options
Use the Team template and change Site Address to /teams/
Browse to the site and from the gear select to connect to O365 group
Enter group name. I created the group Internal Dev Team
Create new Team from MS Teams and select create from O365 group then select your group
Your team would be linked to this new address now. The team content will now be under /teams/ for this team. Create other similar teams.
10 Replies
Sort By
- amirbakhtCopper Contributor
Not setting it as default but here's how to create it under /teams/
Create new Site under Other Options
Use the Team template and change Site Address to /teams/
Browse to the site and from the gear select to connect to O365 group
Enter group name. I created the group Internal Dev Team
Create new Team from MS Teams and select create from O365 group then select your group
Your team would be linked to this new address now. The team content will now be under /teams/ for this team. Create other similar teams.
- SamaraCopper Contributor
I don't think there is a mechanism to prefix Microsoft Teams connected SharePoint sites. Since everything is about Office 365 groups, you can however control the naming convention of Office 365 groups which dictate how SharePoint sites connected to Office 365 groups are created. Please refer to below article from Microsoft for more details.
Additionally, depending on SharePoint site creation policies you can force the new modern team sites to be created under /teams/<teamname>.
- Keyur KhandelCopper Contributor
The URL is based on the Alias Name you provide. So if you are using PowerShell script to create your Teams. The URL will be created based on the Alias name you might have provided.
- spucelik
Microsoft
Nabin...the convention you're describing below would be a subsite of /teams/. When Microsoft Teams creates a the companion SharePoint site collection in the /sites/ "managed path" it does this intentionally for security and content isolation.
- nipWCopper ContributorHi Steve,
Could you please let me know why MS intentionally did this abd what is the difference between /team and /site in security and data isolation perspectives.
Thanks.- Miller_AdminCopper Contributor
Yes I would like to get a answer on this. I am currently reviewing this within our organization. Sites or Teams? I would like to reserve "sites" for official content and "teams" for adhoc user provisioned sites. Research from unofficial sources appears to concur. Do I have this correct?
- nabin pokharelCopper ContributorHi Steve,
I am trying to separate the team sites created from teams with sites created manually or any other means from the url.
Is there a way we can replace sites with teams OR sites/ teams so it will be better for logging or organization purpose.
Any other idea of destinguishing sites from teams with other team sites is great.- Dean_GrossSilver Contributor
Yes, you can change the default path. Go the SP Admin Center, classic, Settings Page, then to the Site Creation section.