To set up Microsoft Teams, you must have the Office 365 calendar integration setup. To do this, please see this guide:
https://support.eploy.co.uk/hc/en-gb/articles/4406112882449-Calendar-Integrations-Setup-Instructions
You will not be able to proceed with the setup on Teams until the above is complete.
Introduction
As well as an admin user granting permission to Eploy for creating Teams online meetings for all users, you will also need to grant an Application Access Policy on behalf of your users within Microsoft Powershell to allow for the integration.
You can find more details on configuring application access to online meetings on Microsoft here:
https://learn.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy
Application Access Policy
To begin, open Microsoft Powershell and run the following commands:
- Update to Windows PowerShell 5.1. If you're on Windows 10 version 1607 or higher, you will already have PowerShell 5.1 installed.
- Install .NET Framework 4.7.2 or later.
- Install-Module -Name PowerShellGet
- Import-Module MicrosoftTeams
- Connect-MicrosoftTeams
From there, you will need to log into Microsoft with an Admin account, so please ensure you are authorised to do so.
If the log in is successful, the following account info will be displayed:
The next step would be to create the application access policy, with the following information:
- Identity - This is your name of choice for the policy so you can set as appropriate.
- AppIDs - This is the ID of the Eploy app and needs to be set to: 7d41920f-a928-45ee-b6eb-252e77a4f654
- Description - This allows you to provide further info re the application access policy.
Example:
New-CsApplicationAccessPolicy -Identity EployTeamsPolicy -AppIds "7d41920f-a928-45ee-b6eb-252e77a4f654" -Description "Eploy Teams Policy"
The application policy can then be granted to the whole tenant or to individual users:
- To grant to the whole tenant, run Grant-CsApplicationAccessPolicy against the PolicyName.
Example:
Grant-CsApplicationAccessPolicy -PolicyName EployTeamsPolicy -Global
- To grant the application policy to individual users, you will need their specific User IDs. Set the identity property to the User IDs in the following command.
Example:
Grant-CsApplicationAccessPolicy -PolicyName EployTeamsPolicy -Identity "UserIdParameter"
Hint - It is recommended to use the Global setting to allow all of your users to make use of Teams. If granting access to individual users, you will need to manage this each time you have a new starter who requires access.
Important - You can assign only 1 application access policy at a time to a particular user. Assigning a new application access policy to a user will override the existing application access policy if any.
For more information on Microsoft Access policies, please see here:
Backout Method
In order to back out the above, first you'll need to check the current access policies using the following command:
Get-CsApplicationAccessPolicy
Above you can see that the policy is called “EployTeamsPolicy”. So follow that up with this command:
Remove-CsApplicationAccessPolicy -Identity EployTeamsPolicy
Then the policy will be removed.