Forum Discussion
Mitch Crump
Feb 11, 2020Copper Contributor
Get SharePoint Site URL of an individual Microsoft Team
I found the https://office365itpros.com/2019/03/27/finding-sharepoint-urls-teams/. I want to use the same concept but only return one SP site URL so I can use the URL to create a folder in that Team....
VasilMichev
Feb 11, 2020MVP
Well you cannot just expect every cmdlet to return the SharePointSiteUrl value, Get-Team most certainly does not do it.
To use the Get-UnifiedGroup cmdlet, you need to connect to Exchange Online PowerShell: https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/connect-to-exchange-online-powershell/connect-to-exchange-online-powershell?view=exchange-ps
Mitch Crump
Feb 11, 2020Copper Contributor
VasilMichev do you have any suggestion on how to connect the dots from Get-Team to calling a SharePoint cmdlet and returning SharePointSiteURL?
And how odd, Get-UnifiedGroup was working for me last week without connecting to EXO...however, that is not really here nor there because I don't think I will be using it in my final script.