Consolidate PS script in PS1 file (MS Teams Policies)

AMaDAC 81 Reputation points
2021-03-09T05:04:39.823+00:00

Is there a way to consolidate PS script for MS Teams Policy including:
Meeting, Messaging, Live Events, App permission etc.,

And is it possible to convert it to Json?

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-03-11T09:19:19.747+00:00

    Hi,

    This could be helpful to get started
    https://practical365.com/collaboration/teams/using-powershell-to-apply-messaging-policies-to-teams-users/

    To convert an object to json you can use the ConvertTo-Json cmdlet.
    https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/convertto-json

    Best Regards,
    Ian Xue

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    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 comments No comments

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.