High so now You will find title of your own sku I need to use locate my personal scholar affiliate legs as the all of the my children are going to be signed up with this sku. To make certain I’m able to work on a quick PowerShell order to help you generate a list of this new pages which have that licenses. I will get it done and also they display screen in direct the fresh PowerShell windows since i have have only 18 profiles however you may want to lose it in order to an excellent CSV on your manufacturing ecosystem.
- In this exact same PowerShell screen work on: get-msoluser -the | where-object
- Immediately after you to operates you really need to select a listing similar to this:
Notice that I’ve ‘-all’ placed in the fresh order just after ‘get-msoluser’ although avoid using they inside my screen images; for the reason that my student count is actually 18 although not your’s may become more. All things in my beginner licenses export is pleasing to the eye so i now learn I can see to the merely my personal youngsters by the licenses and employ one to in order to assign our freshly authored messaging plan!
Assigning the messaging policy to only people based on the permit
We’re going to combine all of our PowerShell demand regarding more than one we familiar with get a hold of most of the pages into permit from M65EDU_A5_Scholar on Cs-TeamsMessagingPolicy order so you can next apply it to people pages.
To accomplish this we are going to have fun with a changeable in order to household the newest users i pull in after which tube those pages towards the Cs-Teams demand. Below is exactly what the overall command works out: $members=get-msoluser -all of the | where-object
Let us break down one command genuine small:– $members is the variable which can domestic brand new users our company is pulling in– Get-MSOLUser are a fundamental command whenever using pages inside Blue Offer / Office 365– The audience is next interested in representative items which have an enthusiastic AccountSkuID match from “M365EDU_A5_STUDENT”
Before i alter the chatting policy let us see what a student is assigned making sure that when we carry on with the changes we have something you should examine. About Teams Admin Cardio head to Profiles in the leftover give navigation pane.
Just after it works we can up coming simply form of $members and you will push enter observe a complete checklist (once more you will want to tubing your own personal so you’re able to an effective CSV having feedback in production)
We are able to note that Al possess nine globally principles assigned and you will 0 for every single-user procedures assigned. It means he’s merely assigned to around the world default principles which we are able to make certain because of the hovering over the procedures tasked text.
Our company is now happy to progress and place their, and all other youngsters, to your new zero cam coverage.
We are able to also make certain just what chatting plan is used on good college student from the running the second: Get-CsOnlineUser -Name userUPN | ft DisplayName, TeamsMessagingPolicy
We can come across my personal decide to try beginner Al doesn’t have anything detailed getting Messaging Plan while the he is assigned the worldwide Standard:
Brief suggestion: when designing large-scale changes through PowerShell it could be wise to break that it upwards toward batches. Do not security how to accomplish that in this article however, naturally one thing to imagine.
If you are prepared to replace the messaging policy project to any people use the same PowerShell admin windows away from in advance of work at that it command: foreach($member during the $members)
Why don’t we break apart one demand genuine quick:– the audience is powering an excellent foreach and you will starting a short-term adjustable from $member that will be always go user from the affiliate out-of all of our range of $members– we’re following incorporating the insurance policy (granting) out of “EDU Zero Private Chat” that we written prior to every single user with regards to UserPrincipalName out of the $players record