Skip to content

Latest commit

 

History

History
125 lines (91 loc) · 4.1 KB

File metadata and controls

125 lines (91 loc) · 4.1 KB
title List outboundSharedUserProfiles
description Retrieve the properties of all outboundSharedUserProfiles.
author yyuank
ms.reviewer mapamu, iamut
ms.localizationpriority medium
ms.subservice entra-sign-in
doc_type apiPageType
ms.date 05/16/2024

List outboundSharedUserProfiles

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Retrieve the properties of all outboundSharedUserProfiles.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

[!INCLUDE rbac-cross-tenant-access-shared-user-profiles-apis-read]

HTTP request

GET /directory/outboundSharedUserProfiles

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a collection of outboundSharedUserProfiles object in the response body.

Examples

Request

GET https://graph.microsoft.com/beta/directory/outboundSharedUserProfiles

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

HTTP/1.1 200 OK
Content-Type: application/json

{
  "@odata.context": "https://graph.microsoft.com/beta/$metadata#directory/outboundSharedUserProfiles",
  "value": [
        {
            "userId":"62bfb458-9474-4c44-896b-b30942d055f0"
        },
        {
            "userId":"5269b458-9474-4a44-996b-a30942d05000"
        }
    ]
}