Garacesh Posted February 25, 2025 Posted February 25, 2025 BMS alerts go to a shared mailbox, the maintenance team want this to then generate an alert in Teams Right-click channel, Get email address, set up forwarding rule on the shared mailbox, nice and easy. Well, the alert never arrives. It works if members email, so I guess this is permissions, right? Add the mailbox to the team.. Er, can't? Other shared mailboxes show up, so it's definitely possible, but this specific one I want doesn't. It's not a UPN-based thing, as some of the other shared mailboxes that appear have their default onmicrosoft UPN. It's not license based, either, other shared mailboxes that show up are all unlicensed as you'd expect. Tried PowerShell, Get-Team -displayname "[color="#0000FF"]Team name[/color]" Add-TeamUser -GroupId [color="#0000FF"]Team ID[/color] -User [color="#0000FF"][email protected][/color] This executes without any error or feedback at all, but the mailbox doesn't show up in the list of Members. Trying Add-TeamChannelUser -GroupId [color="#0000FF"]Team ID[/color] -DisplayName [color="#0000FF"]"Channel name"[/color] -User [color="#0000FF"][email protected][/color] produces the following error: Add-TeamChannelUser : Error occurred while executing Add-TeamChannelUser Code: NotFound Message: User '[color="#FF0000"]User GUID, presumably[/color]' does not exist. InnerError: RequestId: 2b84f4af-7f66-4e72-828e-ca9d586faa4e DateTimeStamp: 2025-02-24T15:32:21 HttpStatusCode: NotFound At line:1 char:1 + Add-TeamChannelUser -GroupId [color="#0000FF"]Team ID[/color] -Di ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( [Add-TeamChannelUser], ApiException + FullyQualifiedErrorId : Microsoft.Teams.PowerShell.TeamsCmdlets.ErrorHandling.ApiException,Microsoft.Teams.PowerShel l.TeamsCmdlets.AddTeamChannelUser Presumably adding a shared mailbox is possible because other mailboxes show up in the list. Is there something in the mailbox config that needs setting before it becomes 'fully fledged'? I've tried comparing settings in Exchange and nothing looks any different to the ones that do show up.
bald_pig Posted February 25, 2025 Posted February 25, 2025 I think this would be a job for power automate? Should be a simple flow that's triggered when an email is received, and posts the contents in a channel or chat.
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