Custom Policies: client, conferencing and Mobile

Microsoft

The past days after we have seen the announcement for the new policies for your tenant:
Conferencing:
New-CsConferencingPolicy
Set-CsConferencingPolicy
Grant-CsConferencingPolicy
Remove-CsConferencingPolicy
Get-CsConferencingPolicy
 
Log first to your tenant:
Import-Module LyncOnlineConnector
$cred = Get-Credential
$CSSession = New-CsOnlineSession -Credential $cred
Import-PSSession $CSSession -AllowClobber

We will start with a simple case that you can use for every other change you need to do, customer want to get all user set to use the less bandwidth for video, like you know we are set by default to HD, when you look at the Global ConferencingPolicy one you will see:
Identity                              : Global
AllowIPVideo                    : True
EnableP2PVideo               : True
MaxVideoConferenceResolution : VGA
VideoBitRateKb               : 50000
TotalReceiveVideoBitRateKb   : 50000

We will start with one user first
PS C:\Windows\system32> Get-CsOnlineUser -Identity josem@leonarwo365.onmicrosoft.com |select ConferencingPolicy
ConferencingPolicy
------------------
BposSAllModality

In this case customer want to be sure that they are Not using HD for screen resolution
PS C:\Windows\system32> Get-CsConferencingPolicy -Identity BposSAllModality | select *video*

AllowIPVideo                     : True
EnableP2PVideo               : True
MaxVideoConferenceResolution : VGA
VideoBitRateKb               : 50000
TotalReceiveVideoBitRateKb   : 50000

With this H.264 SVC is already allowed to scale all the way up to 1080p resolution without any modification as the VideoBitRateKb and TotalRecevieVideoBitRateKb parameters are both set to 50000 by default.

We don’t want this
We can first look for a predefine policy. Because not all policy will apply to every user, the policy can be assigned only if the license match. To avoid error run it with the ApplicableTo switch.
PS C:\Windows\system32> get-csconferencingpolicy -ApplicableTo josem@leonarwo365.onmicrosoft.com -Include SubscriptionDefaults | select Identity,*video*


Identity                     : Global
AllowIPVideo                 : True
EnableP2PVideo               : True
MaxVideoConferenceResolution : VGA
VideoBitRateKb               : 50000
TotalReceiveVideoBitRateKb   : 50000

Identity                     : Tag:JTE
AllowIPVideo                 : True
EnableP2PVideo               : True
MaxVideoConferenceResolution : VGA
VideoBitRateKb               : 50000
TotalReceiveVideoBitRateKb   : 50000

Identity                     : Tag:BposSAllModality
AllowIPVideo                 : True
EnableP2PVideo               : True
MaxVideoConferenceResolution : VGA
VideoBitRateKb               : 50000
TotalReceiveVideoBitRateKb   : 50000

Identity                     : Tag:BposSAllModalityNoVideo
AllowIPVideo                 : False
EnableP2PVideo               : False
MaxVideoConferenceResolution : VGA
VideoBitRateKb               : 50000
TotalReceiveVideoBitRateKb   : 50000

Identity                     : Tag:BposSAllModalityMinVideoBW
AllowIPVideo                 : True
EnableP2PVideo               : True
MaxVideoConferenceResolution : VGA
VideoBitRateKb               : 1000
TotalReceiveVideoBitRateKb   : 1000

Identity                     : Tag:BposSAllModalityNoDialout
AllowIPVideo                 : True
EnableP2PVideo               : True
MaxVideoConferenceResolution : VGA
VideoBitRateKb               : 50000
TotalReceiveVideoBitRateKb   : 50000

We have several more but for the example I stop here
Now I found one that is useful for me Tag:BposSAllModalityMinVideoBW and I just granted to the user
PS C:\Windows\system32> Grant-CsConferencingPolicy -PolicyName "Tag:BposSAllModalityMinVideoBW" -Identity josem@leonarwo365.onmicrosoft.com
PS C:\Windows\system32> Get-CsOnlineUser -Identity josem@leonarwo365.onmicrosoft.com |select ConferencingPolicy
ConferencingPolicy
------------------
BposSAllModalityMinVideoBW
Now we have the solution to create a new policy and modify what we need (this is new)
PS C:\Windows\system32> New-CsConferencingPolicy -Identity LowRate -VideoBitRateKb 1000 -TotalReceiveVideoBitRateKb 1000
Identity                                      : Tag:LowRate
AllowIPAudio                                  : True
AllowIPVideo                                  : True
AllowMultiView                                : True
Description                                   :
AllowParticipantControl                       : True
AllowAnnotations                              : True
DisablePowerPointAnnotations                  : False
AllowUserToScheduleMeetingsWithAppSharing     : True
ApplicationSharingMode                        : VideoWithFallback
AllowNonEnterpriseVoiceUsersToDialOut         : False
AllowAnonymousUsersToDialOut                  : False
AllowAnonymousParticipantsInMeetings          : True
AllowFederatedParticipantJoinAsSameEnterprise : False
AllowExternalUsersToSaveContent               : True
AllowExternalUserControl                      : False
AllowExternalUsersToRecordMeeting             : False
AllowPolls                                    : True
AllowSharedNotes                              : True
AllowQandA                                    : True
AllowOfficeContent                            : True
EnableDialInConferencing                      : True
EnableAppDesktopSharing                       : Desktop
AllowConferenceRecording                      : False
EnableP2PRecording                            : False
EnableFileTransfer                            : True
EnableP2PFileTransfer                         : True
EnableP2PVideo                                : True
AllowLargeMeetings                            : False
EnableOnlineMeetingPromptForLyncResources     : False
EnableDataCollaboration                       : True
MaxVideoConferenceResolution                  : VGA
MaxMeetingSize                                : 250
AudioBitRateKb                                : 200
VideoBitRateKb                                : 1000
AppSharingBitRateKb                           : 50000
FileTransferBitRateKb                         : 50000
TotalReceiveVideoBitRateKb                    : 1000
EnableMultiViewJoin                           : True
CloudRecordingServiceSupport                  : Supported
EnableReliableConferenceDeletion              : True

PS C:\Windows\system32> Get-CsConferencingPolicy -ApplicableTo josem@leonarwo365.onmicrosoft.com |fl identity
Identity : Global
Identity : Tag:JTE
Identity : Tag:LowRate
WARNING: Showing only policies specific to your tenant. To see other policies, try "-Include SubscriptionDefaults"
Set the new policy to the user
PS C:\Windows\system32> Grant-CsConferencingPolicy -PolicyName LowRate -Identity josem@leonarwo365.onmicrosoft.com
PS C:\Windows\system32> Get-CsOnlineUser -Identity josem@leonarwo365.onmicrosoft.com |select ConferencingPolicy
ConferencingPolicy
------------------
LowRate

We want if necessary do it for others?
How we can check who has a High-Resolution Policy?
PS C:\Windows\system32> Get-CsOnlineUser | Where-Object {$_.ConferencingPolicy -ne "LowRate"} |ft ConferencingPolicy,UserPrincipalName

ConferencingPolicy                                          UserPrincipalName
------------------                                          -----------------
BposSAllModality                                 alexx@leonarwo365.onmicrosoft.com
BposSAllModality                              juliexxx@leonarwo365.onmicrosoft.com
BposSAllModality                              lamaxxxx@leonarwo365.onmicrosoft.com
BposSAllModality                               philxxx@leonarwo365.onmicrosoft.com
BposSAllModality                                 vixxx@leonarwo365.onmicrosoft.com

We can change then one by one or all at the same time

0 Replies