Microsoft Informational Articles
https://blogs.office.com/en-us/2017/09/25/a-new-vision-for-intelligent-communications-in-office-365/
https://docs.microsoft.com/en-us/microsoftteams/faq-journey
Team PowerShell Cmdlet Releases
Here is a quick timeline of the cmdlets released (your Office 365 tenant may have received these cmdlets before or after mine, so YMMV)
Added on June 11, 2017
Get-CsTeamsMeetingPolicy Grant-CsTeamsMeetingPolicy New-CsTeamsMeetingPolicy Remove-CsTeamsMeetingPolicy Set-CsTeamsMeetingPolicy
Removed on July 19, 2017
Get-CsTeamsMeetingPolicy Grant-CsTeamsMeetingPolicy New-CsTeamsMeetingPolicy Remove-CsTeamsMeetingPolicy Set-CsTeamsMeetingPolicy
Added on August 9, 2017:
Get-CsTeamsCallingPolicy Get-CsTeamsInteropPolicy Grant-CsTeamsCallingPolicy Grant-CsTeamsInteropPolicy
Since Ignite, Microsoft has added some further cmdlets to Skype Online:
New-CsTeamsInteropPolicy Remove-CsTeamsInteropPolicy Set-CsTeamsInteropPolicy Get-CsTeamsMigrationConfiguration Set-CsTeamsMigrationConfiguration
Find the Teams Cmdlets in Skype Online
How do we find these new cmdlets? We need to connect to the Skype Online PowerShell connection point:
# Set Office 365 User Name and Password $username = "administrator@domain.onmicrosoft.com" $password = cat C:\securestring.txt | convertto-securestring $LiveCred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $password # Connect to Skype Online Import-Module SkypeOnlineConnector $sfboSession = New-CsOnlineSession -Credential $LiveCred Import-PSSession $sfboSession
After you are connected, you can run this one-liner:
Get-Command *Team*
This provides a list of cmdlets:
The above screenshot is what has been exposed in my Office 365 tenant with E3 and E5 licenses.
What’s Next?
Microsoft has since released the Teams PowerShell module and I will cover this module in an article later this week.
how to Grant-CsTeamsMeetingPolicy to all users?
Gautam, I haven’t used this cmdlet yet, however, I just looked at the documentation for it online (https://docs.microsoft.com/en-us/powershell/module/skype/grant-csteamsmeetingpolicy?view=skype-ps) and it looks like the cmdlet uses a per user assignment. If you had a way to grab all users you need this applied to, you can use a Foreach loop in PowerShell to run the cmdlet for each user.
Thank you for the information.
I found a way and tested in an environment :
Get-CsOnlineUser -Filter {Enabled -eq $true} | Grant-CsTeamsMeetingPolicy -PolicyName $null
Get-Command *Team* does not return anything now. I have imported module SkypeOnlineConnector. Looks like all commands are removed again. Maybe moved to the Teams powershell module
YEs, the Get-Team cmdlet is in the Microsoft Teams module. In fact, the updated module has less cmdlets now as well since they consolidated a lot of options into specific cmdlets. See my reference sheet HERE for some examples of this.
Correction. After following the steps from https://docs.microsoft.com/en-us/office365/enterprise/powershell/manage-skype-for-business-online-with-office-365-powershell
Session created successfully and found all the commands