Forum Discussion

Unnie's avatar
Unnie
Iron Contributor
Mar 22, 2020
Solved

Powershell Grant-CsTeamsMeetingBroadcastPolicy is not working

Hi,

Since the admin center is facing outage, I  am trying to assign broaddcast policy to users through powershell, but my powershell fails for federated users with below error:

 

Management object not found for identity "".
+ CategoryInfo : InvalidOperation: (:String) [Grant-CsTeamsMeetingBroadcastP
olicy], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperation,Microsoft.Rtc.Management.AD.Cmdlets.AssignCSTeamsMeetingBroadcastPolicy
Cmdlet
+ PSComputerName : admin0e.online.lync.com

 

Below is my script:

Import-Module SkypeOnlineConnector
$sfbSession = New-CsOnlineSession
Import-PSSession $sfbSession
$user=Get-CsOnlineUser -Identity user@federateddomain.com
Grant-CsTeamsMeetingBroadcastPolicy -Identity $user.UserPrincipalName -PolicyName "Allow Public live events"
Remove-PSSession $sfbSession

Some checks which I have done so far:

1. If I try to assign the broadcast policy to any cloud identity , then it works.
2. The federated users has mailbox created and MS Teams licenses assigned.
What could be wrong here?
  • I don't think it's supported for federated users, but others might prove me wrong 🙂

1 Reply

  • I don't think it's supported for federated users, but others might prove me wrong 🙂

Resources