Teams policy package assignment

IBN 4,506 Reputation points
2022-07-19T09:33:51.157+00:00

Hello

Please i need your help on this.

We are trying to assign policy package to a group of Teams users using PowerShell's cmdlets. We able to assign the policy package 'Education_SecondaryStudent' to a single user using 'new_csbatchpolicypackageassignmentoperation' cmdlet.

However, I can't seem to be able to assign the same policy package to a batch of users using the 'new_csbatchpolicyassignmentoperation' cmdlet

222225-image.png

I don't get any error messages but the team users in the txt files are not assigned the policy package!?

This cmdlet with the exact same parameters used to work last year but it is not this year. Any changes since last year please?

How do I find out the status of an operation by the operation ID please?

Microsoft Teams | Microsoft Teams for business | Other
{count} votes

Answer accepted by question author
  1. JimmyYang-MSFT 58,746 Reputation points Moderator
    2022-07-20T11:21:40.163+00:00

    Hi @IBN

    When you assign policies to users in the Microsoft Teams admin center, you can view the status of those policy assignments in the Activity log. The activity log shows network record upload information, group policy operations from Teams admin center and PowerShell, and batch policy operations (for more than 20 users) from the Teams admin center, for the last 30 days. For more details about how to check it, you could refer to:

    https://learn.microsoft.com/en-us/microsoftteams/policy-assignment-overview#view-your-policy-assignments-in-the-activity-log


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.