EasyUC for Microsoft Teams
Read, assign and edit Teams policies
Enable Teams policies per tenant, assign them to users, reset them to inheritance and create or change named definitions.
In EasyUC: EasyUC Teams → Microsoft management → Policies
Images come from the EasyUC lab. Names and example values provide orientation. A different interface language is indicated beside the relevant image.
What it is for
From version 4.9.67, EasyUC manages user-related Teams policies. The catalogue covers 45 policy types, for example Chat and messaging, Meetings, Calling, Voice routing, Voicemail or Tenant dial plan. The types and their settings are fixed. Free cmdlets or PowerShell expressions cannot be entered.
Per type there are up to seven actions, which the interface names as follows: List, Read definition, Read user assignment, Assign, Use inheritance, Create and Edit. Together that is 303 actions. Each is switched off at first and is enabled individually per tenant, separately for the interface and for the public API.
You work in two places: on the Policies tab of Microsoft management and on the Policies tab of a Teams user profile. The tab in the profile appears only once at least one action for user assignments is enabled for the tenant. Definitions are still maintained in Microsoft management.
The basics are in the chapter “Microsoft management: enable functions and run jobs”: permissions, enabling, preview, job and job monitor.
Prerequisites
- EasyUC from version 4.9.67. Microsoft management is switched on for the tenant.
- A working sign-in to Teams PowerShell for this tenant. The policies run through this sign-in. Enabling an action in EasyUC does not replace a role at Microsoft: the signed-in account or the app registration needs a suitable role there, for example Teams administrator.
- To enable types, actions and names: administrator with the permission View Microsoft API setup (Microsoft API-Setup ansehen).
- To read definitions and assignments: Read Microsoft management (Microsoft-Verwaltung lesen). This permission also decides whether the Policies tab appears in the user profile.
- To assign, reset, create and edit: also Run Microsoft jobs (Microsoft-Aufträge ausführen).
- To follow the job afterwards: Microsoft job monitor (Microsoft-Auftragsmonitor).
- For the user profile: View Microsoft 365 tenants, so that the profile can be opened.
Step by step: Enable types, actions and names
Step by step: Read and change the assignment of a user
Step by step: Use inheritance
Step by step: Read, create or edit a definition
Step by step: Policies in the Teams user profile
Fields and options
| Field / action | Meaning and use |
|---|---|
| List | Read existing policies of this type. The list shows at most 500 entries and says when it has been limited. |
| Read definition | Read the settings of an existing policy. |
| Read user assignment | Read the direct and the effective policy of a user, including the source. |
| Assign | Assign an existing named policy directly to a user. |
| Use inheritance | Remove the direct assignment and let Microsoft determine the effective inheritance. On the tab, the button is called Remove direct assignment – preview inheritance. |
| Create | Create a named policy with explicitly selected, validated settings. |
| Edit | Change only selected settings of an existing named policy. |
| Name access | All named policies or Selected names only. It restricts assignments only and applies to the interface, templates and the API. Upper and lower case do not matter in the comparison, and a leading Tag: is removed. Reading, resetting and maintaining definitions remain enabled separately. The check runs again before every step of a job that has not started yet. |
| Directly assigned | The policy assigned to the user directly, or “No direct assignment”. |
| Effective policy | The policy that actually applies to the user. |
| Effective policy source | Direct user assignment, Group assignment, Global default or Source not confirmed. |
| Policies tab in the user profile | Appears only when three things come together: the permission Read Microsoft management, Microsoft management switched on for the tenant and at least one enabled action Read user assignment, Assign or Use inheritance. If none is enabled, the profile stays as before. |
Inheritance, Global and group policies
- Direct, group and Global are three different sources. EasyUC shows the direct assignment and the effective policy separately and names the source.
- Use inheritance removes only the direct assignment of the user. After that, Microsoft decides which group policy or global default applies. This does not automatically mean Global. The action does not delete any policy definition.
- The Global policy is never assigned directly. It is locked in the selection, and Preview assignment stays locked for it. To get the inherited policy, reset the direct assignment.
- Global definitions can be read, but not created, changed or deleted. In the list they carry the suffix Global. When read, they show “This global or read-only policy can only be viewed here.”
- EasyUC shows group assignments as the source. They cannot be made or changed here. Policy packages and bulk assignment are not available either.
- As long as the assignment has not been read, EasyUC assumes no inheritance. It then says: “The current user assignment has not been read. No inheritance is assumed.” A failed read means unknown and is no proof of a global default.
- A name access that is restricted later can block a waiting job. It does not take back changes already transmitted to Microsoft.
Types with restrictions
- Six types can be read, assigned and reset, but not created or edited. Where the actions are enabled, Create and Edit show a dash.
- Outbound calling restrictions (
DialoutPolicy), Media logging (TeamsMediaLoggingPolicy), Teams coexistence mode (TeamsUpgradePolicy) and Video interoperability provider (TeamsVideoInteropServicePolicy): Microsoft supplies predefined policies. Their definitions are read-only. - App permissions (legacy) (
TeamsAppPermissionPolicy) and App setup (TeamsAppSetupPolicy): Microsoft advises against creating and changing these by PowerShell, because changes can report success without taking effect. Maintain these definitions in the Teams admin center. - Live events (legacy): the type is included for existing configurations. For town halls, use Town halls and webinars.
- Personal attendant (preview): the tenant must be admitted by Microsoft to the limited preview.
- Video conferencing for room accounts: applies to supported room accounts, not to ordinary employee accounts.
- Settings with a complex type for which no editable schema is included stay unchanged. The interface says so at the setting.
- The catalogue covers the types and settings included in this version. Licences, cloud variant and activations of the tenant can limit what can actually be used.
Narrow down errors
- Success: the job shows Succeeded in the Job monitor, and Read user assignment shows the new direct assignment.
- The error box names message, next step, component, code and trace ID, for policies also type, action, stage and command. Check in this order: sign-in to Teams PowerShell, whether the action is enabled, inputs, execution at Microsoft. Then role, licence and activation in the tenant.
- A button stays locked: the action is not enabled for this type, the account lacks Run Microsoft jobs, or changes in Microsoft management have not been saved yet.
- “Loading the policy list has not been enabled. …” Enable List for the type. The other actions work independently of it.
- “This policy name is not enabled for assignments in this tenant.” The name is not in the name access of the type.
- “No names are enabled for assignment for this policy type.” The name access is set to Selected names only with an empty list. Assignments are therefore blocked.
- “Select an existing named policy first. …” The target policy for an assignment is missing, or Global was chosen.
- “Enter a named policy with 1–128 characters …” The name contains a character that is not allowed, or it is Global.
- “Explicitly select at least one setting.” No setting is ticked in the definition.
- “This action has no valid editable schema. …” Reload the page so that EasyUC reads the catalogue again. If the included catalogue has changed, preview and job must be created again.
- “The list was limited. …” Read the policy you are looking for by its exact name.
- Status Execution uncertain: first read the current state at Microsoft before you submit the same job again.