Great now I have title of your own sku I need to use to track down my personal scholar representative foot since the my personal children are going to be licensed with this sku. To be certain I’m able to work at a fast PowerShell command to help you create a listing of the newest profiles which have one permit. I’ll take action and have now they monitor in direct the latest PowerShell window since i have simply have 18 pages nevertheless may want to reduce they to help you good CSV on your own production ecosystem.
- In this same PowerShell window work with: get-msoluser -all of the | where-object
- Immediately following that runs you need to get a hold of a listing along these lines:
Notice that You will find ‘-all’ placed in the latest demand immediately following ‘get-msoluser’ even if don’t use they in my own display screen photos; for the reason that my beginner amount is actually 18 however your’s get be much more. All things in my personal scholar license export looks good and so i today discover I could select into merely my youngsters by the the licenses and make use of that in order to assign our very own freshly composed chatting rules!
Assigning the brand new messaging rules to simply people based on their license
We shall blend all of our PowerShell command out-of over one we regularly discover all of the profiles into licenses out of M65EDU_A5_Student into the Cs-TeamsMessagingPolicy order so you’re able to up coming use it to those pages.
To take action we’ll play with a varying to help you house the new profiles i bring in following tube those individuals profiles into Cs-Groups demand. Below is what the overall demand ends up: $members=get-msoluser -most of the | where-target
Let’s break down that demand genuine short:– $members ‘s the adjustable that will household brand new pages our company is pulling in– Get-MSOLUser is an elementary command when using profiles in the Azure Advertising / Work environment 365– Our company is upcoming seeking user things that have an enthusiastic AccountSkuID fits of “M365EDU_A5_STUDENT”
Before i alter the chatting coverage let’s see what a student is currently tasked to make certain that when we continue our changes we have something to evaluate. From the Organizations Administrator Cardio visit Profiles about remaining hand routing pane.
Immediately following they works we can next merely types of $professionals and you may force get into observe a full record (once more you ought to tube your very own so you can a CSV having remark during the production)
We could see that Al enjoys nine around the world principles tasked and 0 for dating4disabled each-user regulations tasked. It means he could be simply allotted to around the world standard guidelines hence we could ensure because of the hovering over the procedures tasked text message.
We are today happy to move forward and place his, as well as most other people, to the the newest zero speak plan.
We could and be certain that exactly what chatting plan try applied to good beginner by the powering another: Get-CsOnlineUser -Identity userUPN | foot DisplayName, TeamsMessagingPolicy
We can discover my personal decide to try student Al doesn’t have anything detailed to have Chatting Rules just like the he could be tasked the global Standard:
Brief suggestion: when designing major change via PowerShell it could be smart to break that it right up towards the batches. Do not cover how exactly to do that in this article however, needless to say one thing to believe.
If you find yourself willing to change the chatting coverage assignment so you can all of your current children utilize the exact same PowerShell administrator windows of just before manage that it demand: foreach($representative during the $members)
Let’s break apart one demand genuine quick:– we are running good foreach and performing a temporary adjustable regarding $affiliate and is accustomed go affiliate by the affiliate away from the set of $members– our company is following adding the policy (granting) from “EDU No Private Talk” we authored before to every representative and their UserPrincipalName out of our very own $users listing