djm968 Posted July 6, 2020 Posted July 6, 2020 Good afternoon. Might be my brain or I'm just missing something but I cannot connect to a Team mailbox from Powershell. Trying to run set-mailbox [email protected] -MessageCopyForSendOnBehalfEnabled $True and I am getting "couldn't be found" Even if I try get-mailbox, I am getting this error on all Office 365 Group mailboxes, but I can connect to users and shared mailboxes with no issues. Permissions are set correctly, I am member and owner of the Teams I am trying to connect to. Anyone got any ideas?
Boredguy Posted July 6, 2020 Posted July 6, 2020 Might be wrong, but Teams are not a mailbox are they? Certainly they have their own PowerShell commands as you have to connect to a Microsoft Teams instance and not Exchange to do most of the PowerShell commands.
djm968 Posted July 6, 2020 Author Posted July 6, 2020 Might be wrong, but Teams are not a mailbox are they? Teams do have mailboxes associated with them and you can view them under Groups in the Exchange Admin Center. Group Type is displayed as "Office 365"
djm968 Posted July 6, 2020 Author Posted July 6, 2020 Opened a ticket with Microsoft, will update my post with the outcome if I get anywhere.
Steve21 Posted July 6, 2020 Posted July 6, 2020 I take it you are actually using -Identity in the command? As it's missing from the line you posted originally. Just wondering if it's having problems translating the user Also if it's 365 group shouldn't you be using Get-UnifiedGroup/Set-UnifiedGroup? Steve
djm968 Posted July 6, 2020 Author Posted July 6, 2020 I take it you are actually using -Identity in the command? As it's missing from the line you posted originally. Just wondering if it's having problems translating the user You don't need to use -identity with set-mailbox command when you specify the full email address of the mailbox. Also if it's 365 group shouldn't you be using Get-UnifiedGroup/Set-UnifiedGroup? Steve Tried Get-UnifiedGroup/Set-UnifiedGroup, doesn't work with a Team mailbox.
djm968 Posted July 7, 2020 Author Posted July 7, 2020 Update from Microsoft, it's not a mailbox! So why can I add the Team mailbox as a shared folder in Outlook? If a Team doesn't have a mailbox, where are the messages stored?
Steve21 Posted July 7, 2020 Posted July 7, 2020 It is a groupmailbox rather than normal mailbox, but it's a unifiedgroup that it's assigned to Same reason you can open a teams channel message in outlook Steve
djm968 Posted July 7, 2020 Author Posted July 7, 2020 Call from Microsoft, basically it's not possible to manage a Teams mailbox in the same way you can with a shared or user mailbox with PowerShell. Suggested I send feedback to Microsoft user voice. Bit of a flaw here I think, I want messages sent of behalf of the Team going into the Teams sent items.
Steve21 Posted July 7, 2020 Posted July 7, 2020 (edited) Really not too sure what you overall aim is here. If you're talking a 365 group you can enable it as mentioned above. If you're talking a teams group, then that setting you're trying to do won't actually do anything as the Team doesn't send any messages, it's just distributing it on a senders behalf. Unless I'm totally misunderstanding what you're trying to achieve Edit - Ah ninja'd! So you just want to be able to see who's sending what as an admin? Rather than everyone being able to see what's sent? Steve Edited July 7, 2020 by Steve21
djm968 Posted July 7, 2020 Author Posted July 7, 2020 OK I will explain. I have two people connected to a Teams mailbox and for compliance, I need to ensure any messages that are sent via Outlook on behalf of the Team, are available in the sent items in the Team mailbox. Microsoft have confirmed, it is not possible to configure this via PowerShell for a Team mailbox.
Steve21 Posted July 7, 2020 Posted July 7, 2020 Now this is assuming you mean send as in using email via the teamname/address, but I'm sure you can do that as we have it on some of ours I think you just had to disable the group being hidden, then you can open it within Outlook showing what emails have been sent "to the group" which is then in turn, those that are distributed Set-UnifiedGroup -Identity TeamName -HiddenFromExchangeClientsEnabled:$False Then just open it within Outlook and you should be able to see them, obviously this example only has the "original" teams email but the principle should show any others Like that? Steve
djm968 Posted July 7, 2020 Author Posted July 7, 2020 (edited) They use Outlook online, permissions have been set so they can see and open the Team mailbox and all folders from within their personal email account. The issue is when they send an email as the Team from Outlook, the sent message is saved in their own personal sent items folder not the Teams sent items folder. Microsoft have confirmed there is no way of configuring all sent-on-behalf or sent-as messages from a Team to save directly into the Team sent items folder as you can with other shared mailboxes. Edited July 7, 2020 by djm968
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now