Get-MSOLUser has actually a default restrict out-of five-hundred therefore, the most of the banner lets us get the membership

Get-MSOLUser has actually a default restrict out-of five-hundred therefore, the most of the banner lets us get the membership

High so now You will find the name of your own sku We need to take to obtain my personal beginner representative base since the every my pupils will likely be signed up thereupon sku. To make sure I can work on a fast PowerShell command so you’re able to pump out a listing of the new pages having you to permit. I will get it done and also have it screen in direct brand new PowerShell windows since i have simply have 18 users but you may want to remove they so you’re able to good CSV in your development ecosystem.

  1. For the reason that same PowerShell screen work on: get-msoluser -all the | where-target
  2. Immediately https://besthookupwebsites.net/cs/seznamovaci-stranky-umelcu/ after you to definitely works you really need to get a hold of an email list along these lines:

Notice that You will find ‘-all’ listed in brand new command immediately after ‘get-msoluser’ regardless of if don’t use they within my display screen images; the reason being my personal college student matter are 18 yet not your’s could possibly get be more. All things in my pupil licenses export is pleasing to the eye so i today know I could look for into just my college students by their permit and use one to so you can designate our very own recently authored messaging plan!

Assigning the brand new messaging coverage to only people based on the licenses

We’re going to combine the PowerShell order regarding above one we regularly look for all of the profiles to the licenses away from M65EDU_A5_Student toward Cs-TeamsMessagingPolicy order to help you next utilize it to people users.

To accomplish this we’re going to fool around with a changeable in order to domestic the latest profiles we generate then pipe people profiles for the Cs-Communities demand. Continue reading …