User Profile
rhupf
Brass Contributor
Joined Jan 06, 2019
User Widgets
Recent Discussions
Re: How to remove a user from all Teams with Graph SDK Powershell
I tried this, but no luck. I get the following error message: $convmemberid = (get-mgteammember -teamid "5e70225a-2955-42d7-a950-3daa475d9e19" -Filter "(microsoft.graph.aadUserConversationMember/userId eq 'email address removed for privacy reasons')").id get-mgteammember : Invalid id 'email address removed for privacy reasons' provided. Status: 400 (BadRequest)888Views0likes0CommentsRe: How to remove a user from all Teams with Graph SDK Powershell
It's been a while, but I have yet to figure out a solution to this, so I thought I'd repost in case someone new notices it and has an idea. For now, my only option is to use the old Teams module method: get-team -User $email address removed for privacy reasons | foreach {Remove-TeamUser -GroupId $_.groupid -User $email address removed for privacy reasons} I'd like to get this script updated to use the Graph SDK Powershell module.1.6KViews0likes2CommentsRe: How to remove a user from all Teams with Graph SDK Powershell
Thanks for the try. I get the error: Remove-MgTeamUser : The term 'Remove-MgTeamUser' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. The command I see is Remove-MgTeamMember, but it doesn't accept the $user.id param + Remove-MgTeamMember -teamId $team.Id -conversationmemberId $user.Id + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: ({ TeamId = 5e70...c, IfMatch = }:<>f__AnonymousType287`3) [Remove-MgTeamMember_Delete], Exception + FullyQualifiedErrorId : BadRequest,Microsoft.Graph.PowerShell.Cmdlets.RemoveMgTeamMember_Delete2.4KViews0likes3CommentsHow to remove a user from all Teams with Graph SDK Powershell
I have a script that I run for terminated accounts that has this line to remove the user from all Teams they are a member of. get-team -User $username | foreach {Remove-TeamUser -GroupId $_.groupid -User $email address removed for privacy reasons} I've been working on upgrading our scripts to user the Graph SDK Powershell, but I can't figure out a way to convert this command to one that works. Any thoughts?2.8KViews0likes5CommentsRe: Unable to Reply to Skype message in Teams Only Mode
ChrisWebbTech I just noticed this today. I had the issue reported intermittently, so I used a test user that was in Islands mode. I am in Teams Only mode. I sent an IM from my test user to myself and the first time I was able to reply normally. Subsequent attempts gave me the following message: Due to an org policy change, you can enjoy a richer chat and calling experience after that is a link that moves to a new Teams conversation, even if the Islands mode test user does not have Teams running.3.6KViews0likes0Comments
Recent Blog Articles
No content to show