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
Represents a teamsPolicyAssignment 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"
}