Get-MSOLUser have a default restriction off five hundred therefore the all of the banner lets us rating the accounts

Get-MSOLUser have a default restriction off five hundred therefore the all of the banner lets us rating the accounts

Higher so now I’ve title of your sku We have to take to acquire my personal college student representative legs since all the my pupils can be registered with that sku. To be certain I am able to manage a simple PowerShell demand so you can pump out a listing of the brand new pages that have you to definitely licenses. I’ll get it done and now have it display directly in the new PowerShell window since i have only 18 users nevertheless may want to reduce it so you can a great CSV on the design ecosystem.

  1. Because exact same PowerShell screen work with: get-msoluser -all | where-object
  2. Shortly after that runs you really need to select an inventory similar to this:

Notice that I have ‘-all’ listed in the command immediately following ‘get-msoluser’ even in the event do not use they in my own display screen photos; this is because my personal scholar count try 18 not your’s may be much more. All things in my pupil licenses export is pleasing to the eye and so i now understand I can discover to the merely my personal college students of the their licenses and employ you to so you’re able to designate our recently composed chatting policy!

Assigning the fresh new messaging rules to simply youngsters predicated on the permit

We’re going to mix the PowerShell command off a lot more than you to definitely we always look for all the users into licenses out of M65EDU_A5_Student to your Cs-TeamsMessagingPolicy order so you can following use it to people users.

To achieve this we’ll play with a variable so you can home this new profiles i bring in right after which tube the individuals users towards the Cs-Organizations command. Lower than is what all round order looks like: $members=get-msoluser -all | where-target

Let us fall apart one command real small:– $people is the variable that will home brand new users we have been pulling in– Get-MSOLUser try a basic demand whenever using users from inside the Azure Post / Place of work 365– We’re then shopping for user things with an enthusiastic AccountSkuID fits regarding “M365EDU_A5_STUDENT”

Prior to i replace the chatting plan let’s see just what students happens to be tasked so that when we carry on with our very own https://besthookupwebsites.net/tr/established-men-inceleme/ changes i have something you should examine. From the Organizations Administrator Heart visit Pages about kept hands navigation pane.

Once it operates we could then just sort of $players and you will press enter into to see a full record (once again you will want to tubing your own personal to a CSV getting feedback into the production)

We could see that Al possess nine global regulations tasked and 0 for each and every-representative formula tasked. It means he could be just allotted to around the globe standard procedures and therefore we can make sure of the hovering along the formula assigned text message.

We have been today willing to move on and place his, and all of almost every other children, to our the newest zero chat rules.

We can and additionally make certain just what messaging rules try used on a great beginner by the powering next: Get-CsOnlineUser -Identity userUPN | ft DisplayName, TeamsMessagingPolicy

We are able to look for my personal decide to try beginner Al has nothing noted to own Messaging Coverage just like the they are tasked the worldwide Standard:

Brief tip: when designing large scale changes via PowerShell it could be smart to break so it right up into the batches. We do not protection how to do that on this page but obviously something to imagine.

When you find yourself happy to change the chatting coverage assignment so you can your entire pupils use the same PowerShell admin screen regarding in advance of manage which order: foreach($associate from inside the $members)

Let us break apart you to definitely command genuine brief:– we have been powering an excellent foreach and you will starting a short-term varying from $representative and that is used to go associate by representative regarding all of our directory of $members– we have been following incorporating the policy (granting) from “EDU No Private Cam” that we created prior to to each affiliate with their UserPrincipalName off our $users record