teams_licensing_details
Creates, updates, deletes, gets or lists a teams_licensing_details resource.
Overview
| Name | teams_licensing_details |
| Type | Resource |
| Id | entra_id.users.teams_licensing_details |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | The unique identifier for an entity. Read-only. |
hasTeamsLicense | boolean | Indicates whether the user has a valid license to use Microsoft Teams. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | user_id | Get the license status of a user in Microsoft Teams. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
user_id | string | The unique identifier of user |
SELECT examples
- get
Get the license status of a user in Microsoft Teams.
SELECT
id,
hasTeamsLicense
FROM entra_id.users.teams_licensing_details
WHERE user_id = '{{ user_id }}' -- required
;