Forum Discussion

nabin pokharel's avatar
nabin pokharel
Copper Contributor
Aug 09, 2018
Solved

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

  • nabin pokharel 

     

    Wim van der Heijden 

     

    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

  • amirbakht's avatar
    amirbakht
    Copper Contributor

    nabin pokharel 

     

    Wim van der Heijden 

     

    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.

  • Samara's avatar
    Samara
    Copper 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.

     

    https://support.office.com/en-us/article/office-365-groups-naming-policy-6ceca4d3-cad1-4532-9f0f-d469dfbbb552

     

    Additionally, depending on SharePoint site creation policies you can force the new modern team sites to be created under /teams/<teamname>.

     

     

    • Keyur Khandel's avatar
      Keyur Khandel
      Copper 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. 

  • 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.

    • nipW's avatar
      nipW
      Copper Contributor
      Hi 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_Admin's avatar
        Miller_Admin
        Copper Contributor

        nipW  

         

        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 pokharel's avatar
      nabin pokharel
      Copper Contributor
      Hi 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_Gross's avatar
        Dean_Gross
        Silver Contributor

        Yes, you can change the default path. Go the SP Admin Center, classic, Settings Page, then to the Site Creation section.

Resources