powershell
61 TopicsTeams Direct Routing : Set-csuser not available
Hi, I'm trying to set the number & enable a user for Enterprise voice, but I'm getting an error that the term 'set-csuser' is not recognized. I've installed the latest version of the SkypeOnline Powershell module & also the Teams Powershell module: https://docs.microsoft.com/en-us/microsoftteams/teams-powershell-install Currently I can't enable any new user for enterprise voice or assign them numbers. Has anyone got any ideas? Thanks, Joni.Solved51KViews0likes15CommentsPowershell user phone number
Hello guys, I'm using Powershell to connect to MicrosoftTeams. I would like to retrieve the users phone number, like I can see when access https://admin.teams.microsoft.com/users. The cmdlet Get-TeamUser only shows UserId, User, Name and Role. Is there any option, any other command, or any other connection that shows the phone number? Thanks for your help. HernanSolved39KViews0likes2CommentsMicrosoft Teams PowerShell Module V2.3 - Set-CsUser broken!
As Microsoft discontinued SkypeOnlineConnector (finally) we moved to MicrosoftTeams PowerShell Module for user management - especially for Direct Routing phone number management (-OnPremLineURI). However, the current version of MicrosoftTeams PowerShell Module no longer supports -OnPremLineURI neither does it work for -EnterpriseVoiceEnabled:$true and or -HostedVoiceMail:$true We are currently inable to deploy new phone system users as the "legacy" SkypeOnlineConnector no longer functions.Solved30KViews2likes24CommentsScript to view users phone numbers or extensions in tenant
Hello, We are moving from Skype Online to Teams and we are assigning extensions to our users. Does anyone know of a simple script that can output "Username" and "Teams Phone Number or Teams Extension" I've tried a few scripts but nothing seems to give me the information I need. Thanks!21KViews1like5CommentsSetting External access options via powershell
Hi. I'm trying to set External access for Teams, but via powershell. Specifically the "Users can communicate with Skype users" option. I can successfully set the "Users can communicate with other Skype for Business and Teams users", but I can't find a solution for the other option ("Users can communicate with Skype users"). I have read numbers of blog postings, tutorials for the mentioned subject but it just doesn't work, the option won't switch. Most mentioned powershell command for doing it, is the following: Set-CsExternalAccessPolicy -EnableOutsideAccess $False Set-CsExternalAccessPolicy -EnableFederationAccess $False Set-CsExternalAccessPolicy -EnablePublicCloudAccess $False Set-CsExternalAccessPolicy -EnablePublicCloudAudioVideoAccess $False And while the script changes the targeted parameters successfully, the switch in the GUI still remains in "ON" position. I Have set the switch to the "OFF" position by hand, but underlying parameters quoted in code block above, haven't changed (their values retrieved with Get-CsExternalAccessPolicy powershell command. So, from that, it seems that those commands aren't for that option after all.. Any help is appreciated. Br20KViews0likes11CommentsPowershell command to export ALL private Teams memberships, including private Channel memberships
There is currently a major issue that Microsoft is not saying is a bug. When a user is soft-deleted (what happens when we disconnect that user from the on-premise AD to force the cloud-only conversion) they are soft-deleted in O365. The restore works great, however, Teams does not work afterwards.. When the account is restored, all the licenses are retained, all the email, security, private teams memberships are also restored, however, the private channel memberships are permanently removed and cannot be recovered. The only way to get the access back is to go into Teams Admin Centre, open each Team/Channel combo and re-add the user. What happens if you don't actually know what private channel they are members of and what that membership is (member/owner)? You're SOL. I've tried many powershell scripts but they won't show me ALL private teams with all private channel memberships for all teams/channels/users. I would nave to run it for each team/channel name combo and we have many. Anyone have a good script to use?Solved18KViews1like9CommentsHow to control Teams channel notifications using powershell?
Hello everyone, I want to disable the notifications from one team, without leaving the team. From the Teams app, it appears the only way to do this is to click the "..." on each channel in that team to disable the notifications. If that team has many channels (for example, 20 or more), this becomes tedious. Moreover, if any new channels are created afterwards, one has to find them and repeat the process. There doesn't appear to be any way to change the notifications settings for the entire team, or even to select multiple channels. It is not clear why this is missing from the interface. Nonetheless, I thought I could "approximately" achieve it by running a powershell command "in a loop" over all the existing channels of a team. However, from the https://docs.microsoft.com/en-us/powershell/module/teams/?view=teams-ps, the cmdlets available seem to only enable configuring a team, not the user's settings with respect to that team. I looked around for other documents that address this requirement, but couldn't find anything of help. Can you advise me on how I can achieve this?Solved8.2KViews1like2CommentsDownload meeting attendance reports of the last month in bulk
Hi, every month I have to make a very detailed report (excel) of all the teams meetings of our company, with link to the meeting, user attendance reports, organizer of the meeting and other infos. I'm asking if there's a way to download in bulk ALL THE ATTENDANCE REPORTS of the last month in powershell, so i can make this job faster. I'll merge and format the sheet later with macros. If that's not possible in bulk, I could even use a "download single attendance meeting report". TL:DR I need all the csv files that I get with the button circled in red, for all the company meetings of the last month via powershell. Any and all advice is welcome, thanks!8KViews1like1Comment