Updates from: 03/10/2021 04:19:12
Service Microsoft Docs article Related commit history on GitHub Change details
v1.0 B2cidentityuserflow Delete Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/b2cidentityuserflow-delete-identityproviders.md
The work or school account needs to belong to one of the following roles:
<!-- { "blockType": "ignored" } --> ```http
-DELETE /b2cUserFlows/{id}/identityProviders/{id}/$ref
+DELETE /identity/b2cUserFlows/{id}/identityProviders/{id}/$ref
``` ## Request headers
v1.0 B2cidentityuserflow List Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/b2cidentityuserflow-list-identityproviders.md
The work or school account needs to belong to one of the following roles:
<!-- { "blockType": "ignored" } --> ```http
-GET /b2cUserFlows/{id}/identityProviders
+GET /identity/b2cUserFlows/{id}/identityProviders
``` ## Request headers
v1.0 B2cidentityuserflow Post Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/b2cidentityuserflow-post-identityproviders.md
The work or school account needs to belong to one of the following roles:
<!-- { "blockType": "ignored" } --> ```http
-PATCH /b2cUserFlows/{id}/identityProviders/$ref
+PATCH /identity/b2cUserFlows/{id}/identityProviders/$ref
``` ## Request headers
v1.0 B2xidentityuserflow Delete Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/b2xidentityuserflow-delete-identityproviders.md
The work or school account needs to belong to one of the following roles:
<!-- { "blockType": "ignored" } --> ```http
-DELETE /b2xUserFlows/{id}/identityProviders/{id}/$ref
+DELETE /identity/b2xUserFlows/{id}/identityProviders/{id}/$ref
``` ## Request headers
v1.0 B2xidentityuserflow List Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/b2xidentityuserflow-list-identityproviders.md
The work or school account needs to belong to one of the following roles:
<!-- { "blockType": "ignored" } --> ```http
-GET /b2xUserFlows/{id}/identityProviders
+GET /identity/b2xUserFlows/{id}/identityProviders
``` ## Request headers
v1.0 B2xidentityuserflow Post Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/b2xidentityuserflow-post-identityproviders.md
The work or school account needs to belong to one of the following roles:
<!-- { "blockType": "ignored" } --> ```http
-PATCH /b2xUserFlows/{id}/identityProviders/$ref
+PATCH /identity/b2xUserFlows/{id}/identityProviders/$ref
``` ## Request headers
v1.0 Directorydefinition Discover https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directorydefinition-discover.md
Discover the latest schema definition for provisioning to an application.
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
-| Permission type | Permissions (from least to most privileged) |
-|:|:--|
-| Delegated (work or school account) | Directory.ReadWrite.All |
-| Delegated (personal Microsoft account) | Not supported. |
-| Application-only | None. |
+|Permission type | Permissions (from least to most privileged) |
+|:--|:|
+|Delegated (work or school account) |Directory.ReadWrite.All |
+|Delegated (personal Microsoft account) |Not supported.|
+|Application |Application.ReadWrite.OwnedBy, Directory.ReadWrite.All |
## HTTP request
v1.0 Directoryobject Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryobject-delete.md
Here is an example of the request.
"name": "delete_directoryobject" }--> ```http
-DELETE https://graph.microsoft.com/beta/directoryObject/ffab4dce-9b82-49a6-b7c7-1a143106598c
+DELETE https://graph.microsoft.com/beta/directoryObjects/ffab4dce-9b82-49a6-b7c7-1a143106598c
``` ##### Response Here is an example of the response.
v1.0 Driveitem Follow https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/driveitem-follow.md
One of the following permissions is required to call this API. To learn more, in
```http POST /drives/{drive-id}/items/{item-id}/follow
-POST /groups/{group-id/drive/items/{item-id}/follow
+POST /groups/{group-id}/drive/items/{item-id}/follow
POST /me/drive/items/{item-id}/follow POST /sites/{site-id}/drive/items/{item-id}/follow POST /users/{user-id}/drive/items/{item-id}/follow
v1.0 Homerealmdiscoverypolicy List Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/homerealmdiscoverypolicy-list-appliesto.md
The following is an example of the request.
}--> ```http
-GET https://graph.microsoft.com/betiscoveryPolicies/{id}/appliesTo
+GET https://graph.microsoft.com/betiscoveryPolicies/{id}/appliesTo
``` ### Response
v1.0 Identityuserflowattribute Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identityuserflowattribute-update.md
The work or school account needs to belong to one of the following roles:
<!-- { "blockType": "ignored" } --> ```http
-PATCH /userFlowAttributes/{id}
+PATCH /identity/userFlowAttributes/{id}
``` ## Request headers
v1.0 Intune Deviceconfig Manageddevicecertificatestate Create https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/intune-deviceconfig-manageddevicecertificatestate-create.md
POST /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.gr
POST /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidWorkProfileScepCertificateProfile/managedDeviceCertificateStates POST /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkImportedPFXCertificateProfile/managedDeviceCertificateStates POST /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidDeviceOwnerImportedPFXCertificateProfile/managedDeviceCertificateStates
-POST /deviceManagement/deviceConfigurations/{deviceConfigurationId}/identityCertificate/microsoft.graph.androidForWorkPkcsCertificateProfile/managedDeviceCertificateStates
-POST /deviceManagement/deviceConfigurations/{deviceConfigurationId}/identityCertificate/microsoft.graph.androidForWorkScepCertificateProfile/managedDeviceCertificateStates
+POST /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkPkcsCertificateProfile/managedDeviceCertificateStates
+POST /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkScepCertificateProfile/managedDeviceCertificateStates
POST /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.windowsPhone81VpnConfiguration/identityCertificate/microsoft.graph.windowsPhone81SCEPCertificateProfile/managedDeviceCertificateStates POST /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.macOSWiredNetworkConfiguration/identityCertificateForClientAuthentication/microsoft.graph.macOSPkcsCertificateProfile/managedDeviceCertificateStates POST /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.macOSWiredNetworkConfiguration/identityCertificateForClientAuthentication/microsoft.graph.macOSScepCertificateProfile/managedDeviceCertificateStates
v1.0 Intune Deviceconfig Manageddevicecertificatestate Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/intune-deviceconfig-manageddevicecertificatestate-delete.md
DELETE /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.
DELETE /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidWorkProfileScepCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId} DELETE /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkImportedPFXCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId} DELETE /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidDeviceOwnerImportedPFXCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
-DELETE /deviceManagement/deviceConfigurations/{deviceConfigurationId}/identityCertificate/microsoft.graph.androidForWorkPkcsCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
-DELETE /deviceManagement/deviceConfigurations/{deviceConfigurationId}/identityCertificate/microsoft.graph.androidForWorkScepCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
+DELETE /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkPkcsCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
+DELETE /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkScepCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
DELETE /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.windowsPhone81VpnConfiguration/identityCertificate/microsoft.graph.windowsPhone81SCEPCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId} DELETE /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.macOSWiredNetworkConfiguration/identityCertificateForClientAuthentication/microsoft.graph.macOSPkcsCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId} DELETE /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.macOSWiredNetworkConfiguration/identityCertificateForClientAuthentication/microsoft.graph.macOSScepCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
v1.0 Intune Deviceconfig Manageddevicecertificatestate Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/intune-deviceconfig-manageddevicecertificatestate-get.md
GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.gra
GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidWorkProfileScepCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId} GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkImportedPFXCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId} GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidDeviceOwnerImportedPFXCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
-GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/identityCertificate/microsoft.graph.androidForWorkPkcsCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
-GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/identityCertificate/microsoft.graph.androidForWorkScepCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
+GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkPkcsCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
+GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkScepCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.windowsPhone81VpnConfiguration/identityCertificate/microsoft.graph.windowsPhone81SCEPCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId} GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.macOSWiredNetworkConfiguration/identityCertificateForClientAuthentication/microsoft.graph.macOSPkcsCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId} GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.macOSWiredNetworkConfiguration/identityCertificateForClientAuthentication/microsoft.graph.macOSScepCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
v1.0 Intune Deviceconfig Manageddevicecertificatestate List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/intune-deviceconfig-manageddevicecertificatestate-list.md
GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.gra
GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidWorkProfileScepCertificateProfile/managedDeviceCertificateStates GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkImportedPFXCertificateProfile/managedDeviceCertificateStates GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidDeviceOwnerImportedPFXCertificateProfile/managedDeviceCertificateStates
-GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/identityCertificate/microsoft.graph.androidForWorkPkcsCertificateProfile/managedDeviceCertificateStates
-GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/identityCertificate/microsoft.graph.androidForWorkScepCertificateProfile/managedDeviceCertificateStates
+GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkPkcsCertificateProfile/managedDeviceCertificateStates
+GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkScepCertificateProfile/managedDeviceCertificateStates
GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.windowsPhone81VpnConfiguration/identityCertificate/microsoft.graph.windowsPhone81SCEPCertificateProfile/managedDeviceCertificateStates GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.macOSWiredNetworkConfiguration/identityCertificateForClientAuthentication/microsoft.graph.macOSPkcsCertificateProfile/managedDeviceCertificateStates GET /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.macOSWiredNetworkConfiguration/identityCertificateForClientAuthentication/microsoft.graph.macOSScepCertificateProfile/managedDeviceCertificateStates
v1.0 Intune Deviceconfig Manageddevicecertificatestate Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/intune-deviceconfig-manageddevicecertificatestate-update.md
PATCH /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.g
PATCH /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidWorkProfileScepCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId} PATCH /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkImportedPFXCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId} PATCH /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidDeviceOwnerImportedPFXCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
-PATCH /deviceManagement/deviceConfigurations/{deviceConfigurationId}/identityCertificate/microsoft.graph.androidForWorkPkcsCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
-PATCH /deviceManagement/deviceConfigurations/{deviceConfigurationId}/identityCertificate/microsoft.graph.androidForWorkScepCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
+PATCH /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkPkcsCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
+PATCH /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.androidForWorkScepCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
PATCH /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.windowsPhone81VpnConfiguration/identityCertificate/microsoft.graph.windowsPhone81SCEPCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId} PATCH /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.macOSWiredNetworkConfiguration/identityCertificateForClientAuthentication/microsoft.graph.macOSPkcsCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId} PATCH /deviceManagement/deviceConfigurations/{deviceConfigurationId}/microsoft.graph.macOSWiredNetworkConfiguration/identityCertificateForClientAuthentication/microsoft.graph.macOSScepCertificateProfile/managedDeviceCertificateStates/{managedDeviceCertificateStateId}
v1.0 Intune Shared Devicemanagement Getassignedroleidsforloggedinuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/intune-shared-devicemanagement-getassignedroleidsforloggedinuser.md
- Title: "getAssignedRoleIdsForLoggedInUser function"
-description: "Retrieves the assigned role definitions and role assignments of the currently authenticated user."
-
-localization_priority: Normal
-doc_type: apiPageType
--
-# getAssignedRoleIdsForLoggedInUser function
-
-Namespace: microsoft.graph
-
-> **Important:** APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported.
-
-> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant.
-
-Retrieves the assigned role definitions and role assignments of the currently authenticated user.
-## Prerequisites
-One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
-
-|Permission type|Permissions (from most to least privileged)|
-|:|:|
-|Delegated (work or school account)||
-| &nbsp; &nbsp; **Role-based access control (RBAC)** | DeviceManagementRBAC.ReadWrite.All, DeviceManagementRBAC.Read.All|
-|Delegated (personal Microsoft account)|Not supported.|
-|Application||
-| &nbsp; &nbsp; **Role-based access control (RBAC)** | DeviceManagementRBAC.ReadWrite.All, DeviceManagementRBAC.Read.All|
-## HTTP Request
-<!-- {
- "blockType": "ignored"
-}
>
-``` http
-GET /deviceManagement/getAssignedRoleIdsForLoggedInUser
-```
-
-## Request headers
-|Header|Value|
-|:|:|
-|Authorization|Bearer &lt;token&gt; Required.|
-|Accept|application/json|
-
-## Request body
-Do not supply a request body for this method.
-
-## Response
-If successful, this function returns a `200 OK` response code and a **deviceAndAppManagementAssignedRoleId** in the response body.
-
-## Example
-### Request
-Here is an example of the request.
-``` http
-GET https://graph.microsoft.com/beta/deviceManagement/getAssignedRoleIdsForLoggedInUser
-```
-
-### Response
-Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.
-``` http
-HTTP/1.1 200 OK
-Content-Type: application/json
-Content-Length: 263
-
-{
- "value": {
- "@odata.type": "microsoft.graph.deviceAndAppManagementAssignedRoleIds",
- "roleDefinitionIds": [
- "df52f163-f163-df52-63f1-52df63f152df"
- ],
- "roleAssignmentIds": [
- "1f35d53d-d53d-1f35-3dd5-351f3dd5351f"
- ]
- }
-}
-```
------------
v1.0 Itemactivity Getbyinterval https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itemactivity-getbyinterval.md
One of the following permissions is required to call this API. To learn more, in
```http GET /drives/{drive-id}/items/{item-id}/getActivitiesByInterval(startDateTime='2017-01-01',endDateTime='2017-01-10',interval='day') GET /sites/{site-id}/getActivitiesByInterval(startDateTime='2016',endDateTime='2017',interval='month')
-GET /sites/{site-id}/lists/{list-id}/items/{item-id}/getActivitiesByInterval(startDateTime='2017-05-01',interval='week')
+GET /sites/{site-id}/lists/{list-id}/items/{item-id}/getActivitiesByInterval(startDateTime='2017-05-01',endDateTime='2017-05-20',interval='week')
``` ## Function parameters
v1.0 Permission Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/permission-delete.md
If successful, this method returns `204 No Content` response code.
This example removes the permission identified as {perm-id} from the item {item-id} in the current user's OneDrive.
-# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete-permission", "scopes": "files.readwrite" }-->- ```http
-DELETE https://graph.microsoft.com/beta/me/drive/root/items/{item-id}/permissions/{perm-id}
+DELETE https://graph.microsoft.com/beta/me/drive/items/{item-id}/permissions/{perm-id}
```
-# [C#](#tab/csharp)
-
-# [JavaScript](#tab/javascript)
-
-# [Objective-C](#tab/objc)
-
-# [Java](#tab/java)
--- ### Response
v1.0 Permission Revokegrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/permission-revokegrants.md
POST /drives/{drive-id}/items/{item-id}/permissions/{perm-id}/revokeGrants
POST /groups/{group-id}/drive/items/{item-id}/permissions/{perm-id}/revokeGrants POST /me/drive/items/{item-id}/permissions/{perm-id}/revokeGrants POST /sites/{site-id}/drive/items/{item-id}/permissions/{perm-id}/revokeGrants
-POST /sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{perm-id}/revokeGrants
+POST /sites/{site-id}/lists/{list-id}/items/{listItem-id}/driveItem/permissions/{perm-id}/revokeGrants
POST /users/{user-id}/drive/items/{item-id}/permissions/{perm-id}/revokeGrants ```
v1.0 Serviceprincipal List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list-memberof.md
The following is an example of the response.
```http HTTP/1.1 200 OK Content-type: text/plain
-```
394
+```
### Example 3: Use OData cast to get only a count of group membership
The following is an example of the response.
```http HTTP/1.1 200 OK Content-type: text/plain
-```
394
+```
### Example 4: Use $search and OData cast to get group membership with display names that contain the letters 'Video' including a count of returned objects
The following is an example of the request.
"name": "get_video_count" }--> ```msgraph-interactive
-GET iv. https://graph.microsoft.com/beta/servicePrincipals/{id}/memberOf/microsoft.graph.group?$count=true&$orderby=displayName&$search=ΓÇ¥displayName:Video"
+GET https://graph.microsoft.com/beta/servicePrincipals/{id}/memberOf/microsoft.graph.group?$count=true&$orderby=displayName&$search=ΓÇ¥displayName:Video"
ConsistencyLevel: eventual ```
v1.0 Synchronization Synchronizationjob Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationjob-get.md
One of the following permissions is required to call this API. To learn more, in
|Permission type | Permissions (from least to most privileged) | |:--|:|
-|Delegated (work or school account) |Directory.ReadWrite.All |
+|Delegated (work or school account) |Directory.Read.All |
|Delegated (personal Microsoft account) |Not supported. | |Application |Application.ReadWrite.OwnedBy, Directory.ReadWrite.All |
v1.0 Synchronization Synchronizationjob Start https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationjob-start.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Start an existing synchronization job. If the job is in a paused state, it will continue processing changes from the point where it was paused. If the job is in quarantine, the quarantine status will be cleared.
+Start an existing synchronization job. If the job is in a paused state, it will continue processing changes from the point where it was paused. If the job is in quarantine, the quarantine status will be cleared. Do not create scripts to call the start job continuously while it's running because that can cause the service to stop running. Use the start job only when the job is currently paused or in quarantine.
## Permissions One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
v1.0 Synchronization Synchronizationschema Filteroperators https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationschema-filteroperators.md
One of the following permissions is required to call this API. To learn more, in
|Permission type | Permissions (from least to most privileged) | |:--|:|
-|Delegated (work or school account) |Directory.ReadWrite.All |
+|Delegated (work or school account) |Directory.Read.All |
|Delegated (personal Microsoft account) |Not supported.| |Application |Application.ReadWrite.OwnedBy, Directory.ReadWrite.All |
v1.0 Synchronization Synchronizationschema Functions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationschema-functions.md
One of the following permissions is required to call this API. To learn more, in
|Permission type | Permissions (from least to most privileged) | |:--|:|
-|Delegated (work or school account) |Directory.ReadWrite.All |
+|Delegated (work or school account) |Directory.Read.All |
|Delegated (personal Microsoft account) |Not supported.| |Application |Application.ReadWrite.OwnedBy, Directory.ReadWrite.All |
v1.0 Synchronization Synchronizationschema Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationschema-get.md
One of the following permissions is required to call this API. To learn more, in
|Permission type | Permissions (from least to most privileged) | |:--|:|
-|Delegated (work or school account) |Directory.ReadWrite.All |
+|Delegated (work or school account) |Directory.Read.All |
|Delegated (personal Microsoft account) |Not supported. | |Application |Application.ReadWrite.OwnedBy, Directory.ReadWrite.All |
v1.0 Synchronization Synchronizationtemplate Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationtemplate-get.md
One of the following permissions is required to call this API. To learn more, in
|Permission type | Permissions (from least to most privileged) | |:--|:|
-|Delegated (work or school account) |Directory.ReadWrite.All |
+|Delegated (work or school account) |Directory.Read.All |
|Delegated (personal Microsoft account) |Not supported.| |Application |Application.ReadWrite.OwnedBy, Directory.ReadWrite.All |
v1.0 Synchronization Synchronizationtemplate List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationtemplate-list.md
One of the following permissions is required to call this API. To learn more, in
|Permission type | Permissions (from least to most privileged) | |:--|:|
-|Delegated (work or school account) |Directory.ReadWrite.All |
+|Delegated (work or school account) |Directory.Read.All |
|Delegated (personal Microsoft account) |Not supported.| |Application |Application.ReadWrite.OwnedBy, Directory.ReadWrite.All |
v1.0 Tokenissuancepolicy List Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tokenissuancepolicy-list-appliesto.md
The following is an example of the request.
}--> ```http
-GET https://graph.microsoft.com/beta/tokenIssuancePolicies/{id}/appliesTo
+GET https://graph.microsoft.com/beta/policies/tokenIssuancePolicies/{id}/appliesTo
``` ### Response
v1.0 Tokenlifetimepolicy List Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tokenlifetimepolicy-list-appliesto.md
The following is an example of the request.
}--> ```http
-GET https://graph.microsoft.com/beta/tokenLifetimePolicies/{id}/appliesTo
+GET https://graph.microsoft.com/beta/policies/tokenLifetimePolicies/{id}/appliesTo
``` ### Response
v1.0 Userflowlanguageconfiguration List Overridespages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/userflowlanguageconfiguration-list-overridespages.md
If successful, this method returns a `200 OK` response code and a collection of
The following is an example of the request. -
-# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_userflowlanguagepage"
The following is an example of the request.
--> ``` http
-GET https://graph.microsoft.com/beta/b2cUserFlows/B2C_1_Customer/languages/en/overridesPages
+GET https://graph.microsoft.com/beta/identity/b2cUserFlows/B2C_1_Customer/languages/en/overridesPages
```
-# [C#](#tab/csharp)
-
-# [JavaScript](#tab/javascript)
-
-# [Objective-C](#tab/objc)
-
-# [Java](#tab/java)
-- ### Response
v1.0 Workbookcomment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workbookcomment-get.md
One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-GET workbook/comments/{id}
+GET /me/drive/items/{id}/workbook/comments/{id}
``` ## Request headers
v1.0 Workbookcommentreply Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workbookcommentreply-get.md
One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-GET /comments/{id}/replies/{id}
+GET /drive/items/{id}/workbook/comments/{id}/replies/{id}
``` ## Request headers
v1.0 Workbookoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workbookoperation-get.md
One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-GET workbook/operations/{operation-id}
+GET /me/drive/items/{id}/workbook/operations/{operation-id}
``` ## Request headers
v1.0 Chatmessagehostedcontent https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/chatmessagehostedcontent.md
they are stored in SharePoint or OneDrive.
| Method | Return Type | Description | |:-|:|:|
-| [List chatMessageHostedContent](../api/chatmessage-list-chatmessagehostedcontents.md) | [chatMessageHostedContent](chatmessagehostedcontent.md) | Retrieve the list of **chatMessageHostedContent** for a message. |
+| [List chatMessageHostedContent](../api/chatmessage-list-chatmessagehostedcontents.md) | [chatMessageHostedContent](chatmessagehostedcontent.md) collection | Retrieve the list of **chatMessageHostedContent** for a message. |
| [Get chatMessageHostedContent](../api/chatmessagehostedcontent-get.md) | [chatMessageHostedContent](chatmessagehostedcontent.md) | Read the properties and relationships of a **chatMessageHostedContent** object. | ## Properties
v1.0 Chatmessage List Chatmessagehostedcontents https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chatmessage-list-chatmessagehostedcontents.md
+
+ Title: "List chatMessageHostedContents"
+description: "Retrieve the list of chatMessageHostedContent objects from a message."
+localization_priority: Normal
+++
+# List hostedContents
+
+Namespace: microsoft.graph
+
+Retrieve the list of [chatMessageHostedContent](../resources/chatmessagehostedcontent.md) objects from a message.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+| Permission type | Permissions (from least to most privileged) |
+|:|:--|
+|Delegated (work or school account)| For **channel** resource: ChannelMessage.Read.All |
+|Delegated (personal Microsoft account)|Not supported.|
+|Application| For **channel** resource: ChannelMessage.Read.Group*, ChannelMessage.Read.All |
+
+> **Note**: Permissions marked with * use [resource-specific consent]( https://aka.ms/teams-rsc).
+
+> [!NOTE]
+> Before calling this API with application permissions, you must request access. For details, see [Protected APIs in Microsoft Teams](/graph/teams-protected-apis).
+
+## HTTP request
+
+<!-- { "blockType": "ignored" } -->
+
+```http
+GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/hostedContents
+```
+
+## Optional query parameters
+
+This operation does not support the [OData query parameters](/graph/query-parameters) to customize the response.
+
+## Request headers
+
+| Name |Description|
+|:-|:-|
+| Authorization | Bearer {code}. Required. |
+
+## Request body
+
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and a collection of [chatMessageHostedContent](../resources/chatmessagehostedcontent.md) objects in the response body.
+
+## Examples
+
+### Request
+
+The following is an example of the request.
+
+```http
+GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/channels/19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2/messages/1614618259349/hostedContents
+```
+
+### Response
+
+The following is an example of the response.
+
+> [!NOTE]
+> The response object shown here might be shortened for readability. All the properties will be returned from an actual call.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.chatMessageHostedContent",
+ "isCollection": true
+} -->
+
+```http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#teams('fbe2bf47-16c8-47cf-b4a5-4b9b187c508b')/channels('19%3A4a95f7d8db4c4e7fae857bcebe0623e6%40thread.tacv2')/messages('1614618259349')/hostedContents",
+ "@odata.count": 1,
+ "value": [
+ {
+ "id": "aWQ9eF8wLXd1cy1kOS1jZTI3NDkxOTIzMTJjYWI5NDczMWQwYTgzNTFjN2VhNSx0eXBlPTEsdXJsPWh0dHBzOi8vdXMtYXBpLmFzbS5za3lwZS5jb20vdjEvb2JqZWN0cy8wLXd1cy1kOS1jZTI3NDkxOTIzMTJjYWI5NDczMWQwYTgzNTFjN2VhNS92aWV3cy9pbWdv",
+ "contentBytes": null,
+ "contentType": null
+ }
+ ]
+}
+```
+
+<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
+2019-02-04 14:57:30 UTC -->
+<!-- {
+ "type": "#page.annotation",
+ "description": "List hostedContents",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": "",
+ "suppressions": [
+ ]
+}-->
++
v1.0 Chatmessagehostedcontent Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chatmessagehostedcontent-get.md
+
+ Title: "Get chatMessageHostedContent"
+description: "Retrieve the properties and relationships of chatMessageHostedContent object."
+localization_priority: Normal
+++
+# Get chatMessageHostedContent
+
+Namespace: microsoft.graph
+
+Retrieve the properties and relationships of [chatMessageHostedContent](../resources/chatmessagehostedcontent.md) object.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+| Permission type | Permissions (from least to most privileged) |
+|:|:--|
+|Delegated (work or school account)| For **channel** resource: ChannelMessage.Read.All |
+|Delegated (personal Microsoft account)|Not supported.|
+|Application| For **channel** resource: ChannelMessage.Read.Group*, ChannelMessage.Read.All |
+
+> **Note**: Permissions marked with * use [resource-specific consent]( https://aka.ms/teams-rsc).
+
+> [!NOTE]
+> Before calling this API with application permissions, you must request access. For details, see [Protected APIs in Microsoft Teams](/graph/teams-protected-apis).
+
+## HTTP request
+
+<!-- { "blockType": "ignored" } -->
+
+```http
+GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/hostedContents/{hosted-content-id}
+```
+
+## Optional query parameters
+
+This operation does not support the [OData query parameters](/graph/query-parameters) to customize the response.
+
+## Request headers
+
+| Name |Description|
+|:-|:-|
+| Authorization | Bearer {code}. Required. |
+
+## Request body
+
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and the requested [chatMessageHostedContent](../resources/chatmessagehostedcontent.md) object in the response body.
+
+## Examples
+
+### Example 1: Get hosted content
+
+#### Request
+
+The following is an example of the request.
+
+<!-- { "blockType": "ignored" } -->
+
+```http
+GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/channels/19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2/messages/1614618259349/hostedContents/aWQ9eF8wLXd1cy1kOS1jZTI3NDkxOTIzMTJjYWI5NDczMWQwYTgzNTFjN2VhNSx0eXBlPTEsdXJsPWh0dHBzOi8vdXMtYXBpLmFzbS5za3lwZS5jb20vdjEvb2JqZWN0cy8wLXd1cy1kOS1jZTI3NDkxOTIzMTJjYWI5NDczMWQwYTgzNTFjN2VhNS92aWV3cy9pbWdv
+```
+
+#### Response
+
+The following is an example of the response.
+
+> [!NOTE]
+> The response object shown here might be shortened for readability. All the properties will be returned from an actual call.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.chatMessageHostedContent"
+} -->
+
+```http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#teams('fbe2bf47-16c8-47cf-b4a5-4b9b187c508b')/channels('19%3A4a95f7d8db4c4e7fae857bcebe0623e6%40thread.tacv2')/messages('1614618259349')/hostedContents/$entity",
+ "id": "aWQ9eF8wLXd1cy1kOS1jZTI3NDkxOTIzMTJjYWI5NDczMWQwYTgzNTFjN2VhNSx0eXBlPTEsdXJsPWh0dHBzOi8vdXMtYXBpLmFzbS5za3lwZS5jb20vdjEvb2JqZWN0cy8wLXd1cy1kOS1jZTI3NDkxOTIzMTJjYWI5NDczMWQwYTgzNTFjN2VhNS92aWV3cy9pbWdv",
+ "contentBytes": null,
+ "contentType": null
+}
+```
+
+### Example 2: Get hosted content bytes
+
+#### Request
+
+<!-- { "blockType": "ignored" } -->
+
+```http
+GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/channels/19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2/messages/1614618259349/hostedContents/aWQ9eF8wLXd1cy1kOS1jZTI3NDkxOTIzMTJjYWI5NDczMWQwYTgzNTFjN2VhNSx0eXBlPTEsdXJsPWh0dHBzOi8vdXMtYXBpLmFzbS5za3lwZS5jb20vdjEvb2JqZWN0cy8wLXd1cy1kOS1jZTI3NDkxOTIzMTJjYWI5NDczMWQwYTgzNTFjN2VhNS92aWV3cy9pbWdv/$value
+```
+
+#### Response
+
+> [!NOTE]
+> The response object shown here might be shortened for readability. All the properties will be returned from an actual call.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.chatMessageHostedContent"
+} -->
+
+```http
+HTTP/1.1 200 OK
+Content-type: image/jpeg
+Content-length: 201
+
+<ContentBytes>
+```
+
+<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
+2019-02-04 14:57:30 UTC -->
+<!-- {
+ "type": "#page.annotation",
+ "description": "Get chatMessageHostedContent",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": "",
+ "suppressions": [
+ ]
+}-->
++
v1.0 Claimsmappingpolicy List Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/claimsmappingpolicy-list-appliesto.md
If successful, this method returns a `200 OK` response code and a collection of
The following is an example of the request.
-# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_appliesto" }--> ```msgraph-interactive
-GET https://graph.microsoft.com/v1.0/claimsMappingPolicies/{id}/appliesTo
+GET https://graph.microsoft.com/v1.0/policies/claimsMappingPolicies/{id}/appliesTo
```
-# [C#](#tab/csharp)
-
-# [JavaScript](#tab/javascript)
-
-# [Objective-C](#tab/objc)
-
-# [Java](#tab/java)
--- ### Response
v1.0 Driveitem Follow https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/driveitem-follow.md
One of the following permissions is required to call this API. To learn more, in
```http POST /drives/{drive-id}/items/{item-id}/follow
-POST /groups/{group-id/drive/items/{item-id}/follow
+POST /groups/{group-id}/drive/items/{item-id}/follow
POST /me/drive/items/{item-id}/follow POST /sites/{site-id}/drive/items/{item-id}/follow POST /users/{user-id}/drive/items/{item-id}/follow
v1.0 Homerealmdiscoverypolicy List Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/homerealmdiscoverypolicy-list-appliesto.md
If successful, this method returns a `200 OK` response code and a collection of
The following is an example of the request.
-# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_appliesto" }--> ```msgraph-interactive
-GET https://graph.microsoft.com/v1.0/homeRealmDiscoveryPolicies/{id}/appliesTo
+GET https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/{id}/appliesTo
```
-# [C#](#tab/csharp)
-
-# [JavaScript](#tab/javascript)
-
-# [Objective-C](#tab/objc)
-
-# [Java](#tab/java)
--- ### Response
v1.0 Intune Shared Devicecategory Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/intune-shared-devicecategory-update.md
Content-length: 82
"displayName": "Display Name value", "description": "Description value" }-
-PATCH /deviceManagement/deviceManagementScripts/{deviceManagementScriptId}/deviceRunStates/{deviceManagementScriptDeviceStateId}/managedDevice/deviceCategory
``` ### Response
v1.0 Itemactivitystat Getactivitybyinterval https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/itemactivitystat-getactivitybyinterval.md
One of the following permissions is required to call this API. To learn more, in
```http GET /drives/{drive-id}/items/{item-id}/getActivitiesByInterval(startDateTime='2017-01-01',endDateTime='2017-01-10',interval='day') GET /sites/{site-id}/getActivitiesByInterval(startDateTime='2016-01-01',endDateTime='2017-05-20',interval='month')
-GET /sites/{site-id}/lists/{list-id}/items/{item-id}/getActivitiesByInterval(startDateTime='2017-05-01',interval='week')
+GET /sites/{site-id}/lists/{list-id}/items/{item-id}/getActivitiesByInterval(startDateTime='2017-05-01',endDateTime='2017-05-20',interval='week')
``` ## Function parameters
v1.0 Orgcontact List Transitivememberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/orgcontact-list-transitivememberof.md
The following is an example of the request.
}--> ```msgraph-interactive
-GET https://graph.microsoft.com/v1.0/{id}/transitiveMemberOf
+GET https://graph.microsoft.com/v1.0/contacts/{id}/transitiveMemberOf
``` ### Response
v1.0 Serviceprincipal List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list-memberof.md
The following is an example of the response.
```http HTTP/1.1 200 OK Content-type: text/plain
-```
-`394`
+394
+```
### Example 3: Use OData cast to get only a count of group membership
The following is an example of the response.
```http HTTP/1.1 200 OK Content-type: text/plain
-```
-`394`
+394
+```
### Example 4: Use $search and OData cast to get group membership with display names that contain the letters 'Video' including a count of returned objects
The following is an example of the request.
"name": "get_video_count" }--> ```msgraph-interactive
-GET iv. https://graph.microsoft.com/v1.0/servicePrincipals/{id}/memberOf/microsoft.graph.group?$count=true&$orderby=displayName&$search=ΓÇ¥displayName:Video"
+GET https://graph.microsoft.com/v1.0/servicePrincipals/{id}/memberOf/microsoft.graph.group?$count=true&$orderby=displayName&$search=ΓÇ¥displayName:Video"
ConsistencyLevel: eventual ```
v1.0 Subscriptions Socketio https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/subscriptions-socketio.md
To learn more, including how to choose permissions, see [Permissions](/graph/per
```http GET /me/drive/root/subscriptions/socketIo GET /drives/{driveId}/root/subscriptions/socketIo
-GET /lists/{list-id}/subscriptions/socketIo
+GET /drives/{driveId}/list/subscriptions/socketIo
GET /groups/{groupId}/drive/root/subscriptions/socketIo GET /sites/{siteId}/lists/{listId}/drive/root/subscriptions/socketIo ```
v1.0 Workbook List Comments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workbook-list-comments.md
One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-GET workbook/comments
+GET /me/drive/items/{id}/workbook/comments
``` ## Request headers
v1.0 Workbookcomment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workbookcomment-get.md
One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-GET workbook/comments/{id}
+GET /me/drive/items/{id}/workbook/comments/{id}
``` ## Request headers
v1.0 Workbookoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workbookoperation-get.md
One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-GET workbook/operations/{operation-id}
+GET /me/drive/items/{id}/workbook/operations/{operation-id}
``` ## Request headers
v1.0 Chatmessage https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/chatmessage.md
Represents an individual chat message within a [channel](./channel.md) or (in be
|[Get a reply to a chatMessage](../api/channel-get-messagereply.md) | [chatMessage](chatmessage.md)| Get a single reply to a chat message in a channel.| |[Reply to a chatMessage in a channel](../api/channel-post-messagereply.md) | [chatMessage](chatmessage.md)| Reply to an existing chat message in a channel.| |[Update chatMessage](../api/chatmessage-update.md)|[chatMessage](chatmessage.md)| Update the **policyViolation** property of a chat message.|
+|**Hosted content**| | |
+|[List all hosted content](../api/chatmessage-list-chatmessagehostedcontents.md) | [chatMessageHostedContent](../resources/chatmessagehostedcontent.md) collection| Get all hosted content in a chat message.|
+|[Get hosted content](../api/chatmessagehostedcontent-get.md) | [chatMessageHostedContent](../resources/chatmessagehostedcontent.md) | Get hosted content from a chat message.|
## Properties
v1.0 Chatmessagehostedcontent https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/chatmessagehostedcontent.md
+
+ Title: "chatMessageHostedContent resource type"
+description: "A content hosted in a chat message"
+localization_priority: Normal
+++
+# chatMessageHostedContent resource type
+
+Namespace: microsoft.graph
+
+Represents Teams content hosted in a chat message, such as images or code snippets.
+[File attachments](chatmessageattachment.md) are not hosted content;
+they are stored in SharePoint or OneDrive.
+
+## Methods
+
+| Method | Return Type | Description |
+|:-|:|:|
+| [List chatMessageHostedContent](../api/chatmessage-list-chatmessagehostedcontents.md) | [chatMessageHostedContent](chatmessagehostedcontent.md) collection | Retrieve the list of **chatMessageHostedContent** for a message. |
+| [Get chatMessageHostedContent](../api/chatmessagehostedcontent-get.md) | [chatMessageHostedContent](chatmessagehostedcontent.md) | Read the properties and relationships of a **chatMessageHostedContent** object. |
+
+## Properties
+
+chatMessageHostedContent derives from [teamworkHostedContent](teamworkhostedcontent.md)
+
+| Property | Type | Description |
+|:-|:|:|
+|id |String | Read-only. Represents the chat message hosted content identifier.|
+|contentBytes |Edm.Binary | Write-only. When posting new chat message hosted content, represents the bytes of the payload. These are represented as a base64Encoded string.|
+|contentType |String | Write-only. When posting new chat message hosted content, represents the type of content, such as image/png.|
+
+### Instance attributes
+
+Instance attributes are properties with special behaviors.
+These properties are temporary and either define behavior the service should perform or provide short-term property values, like a download URL for an item that expires.
+
+| Property name | Type | Description
+|:-|:-|:--
+| @microsoft.graph.temporaryId | string | Write-only. Represents the temporaryId for the hosted content while posting a message to refer to the hosted content in **chatMessage** resource being sent.|
+
+## Relationships
+
+None.
+
+## JSON representation
+
+The following is a JSON representation of the resource.
+
+<!-- {
+ "blockType": "resource",
+ "optionalProperties": [
+
+ ],
+ "@odata.type": "microsoft.graph.chatMessageHostedContent",
+ "keyProperty": "id"
+}-->
+
+```json
+{
+ "@microsoft.graph.temporaryId": "String (identifier)",
+ "id": "String (identifier)",
+ "contentBytes": "String (binary)",
+ "contentType": "String"
+}
+```
+
+<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
+2019-02-04 14:57:30 UTC -->
+<!-- {
+ "type": "#page.annotation",
+ "description": "chatMessageHostedContent resource",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": ""
+}-->
++
v1.0 Teamsappdefinition https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/teamsappdefinition.md
doc_type: resourcePageType
Namespace: microsoft.graph
-Represents the details of one version of a [teamsApp](teamsapp.md).
+Represents the details of a version of a [teamsApp](teamsapp.md).
## Properties
v1.0 Teamworkhostedcontent https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/teamworkhostedcontent.md
+
+ Title: "teamworkHostedContent resource type"
+description: "Represents rich content hosted by Microsoft Teams."
+
+localization_priority: Normal
++
+# teamworkHostedContent resource type
+
+Namespace: microsoft.graph
+
+Represents rich content like images and code snippets in Microsoft Teams. For rich content in [channel and chat messages](chatMessage.md), see [chatMessageHostedContent](chatMessageHostedContent.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|contentBytes|Binary|Write only. Bytes for the hosted content (such as images).|
+|contentType|String|Write only. Content type. sicj as image/png, image/jpg.|
+|id|String|ID of the hosted content.|
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.teamworkHostedContent",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkHostedContent",
+ "id": "String (identifier)",
+ "contentBytes": "Binary",
+ "contentType": "String"
+}
+```
v1.0 Toc.Yml https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/toc.yml a/api-reference/v1.0/toc.yml
items:
href: api/channel-post-messagereply.md - name: Update message href: api/chatmessage-update.md
+ - name: List hosted content
+ href: api/chatmessage-list-chatmessagehostedcontents.md
+ - name: Get hosted content
+ href: api/chatmessagehostedcontent-get.md
- name: Chat href: resources/chat.md items: