Help Center

My Tickets
Welcome
Login  Sign up

Adding Users to MS Teams Data Policy (Jobvite)

Enable Teams Administrator role in PIM (If Powershell is open before Teams Admin is activated, close out PowerShell and reopen after activation)

Open Powershell as an Administrator

Install-Module -Name MicrosoftTeams

    - If prompted, "Yes to All"

Set-ExecutionPolicy Unrestricted

Import-Module MicrosoftTeams

Close Powershell

Open a regular instance of Powershell (NOT ADMINISTRATOR)

Connect-MicrosoftTeams

Log into your Administrator Account

Grant-CsApplicationAccessPolicy -PolicyName "Jobvite-Teams-Meeting-Policy" -Identity "USER OBJECT ID"

Close Powershell

image

Open Powershell as an Administrator

Set-ExecutionPolicy Restricted


To find the Object ID of a user:

Navigate to Azure AD

On side Panel select Users

In search bar enter desired user

Click on desired user's name

Object ID will be under "User principal name"

Copy ID to enter after -Identity in Powershell Command


E
Eric is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.