Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph.teamsAdministration
Important
APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Represents a Teams policy assignment object used to assign or unassign a policy for a specific user. It includes the user's ID, the type of policy (for example, TeamsMeetingBroadcastPolicy), and the targeted policy ID.
Inherits from entity.
Methods
| Method | Return type | Description |
|---|---|---|
| Assign | None | Assign a Teams policy to a user using the user ID, policy type, and policy ID. |
| Unassign | None | Unassign a Teams policy from a user using the user ID and policy type. |
Properties
| Property | Type | Description |
|---|---|---|
| policyId | String | The unique identifier (GUID) of the policy within the specified policy type. |
| policyType | String | The type of Teams policy assigned or unassigned, such as TeamsMeetingBroadcastPolicy. |
| userId | String | The unique identifier (GUID) of the user. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.teamsAdministration.teamsPolicyUserAssignment",
"policyId": "String",
"policyType": "String",
"userId": "String"
}