Skip to content

Latest commit

 

History

History
131 lines (96 loc) · 4.26 KB

File metadata and controls

131 lines (96 loc) · 4.26 KB
title List inboundSharedUserProfiles
description Retrieve the properties of an inboundSharedUserProfiles.
author yyuank
ms.reviewer mapamu, iamut
ms.localizationpriority medium
ms.subservice entra-sign-in
doc_type apiPageType
ms.date 05/16/2024

List inboundSharedUserProfiles

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Retrieve the properties of all inboundSharedUserProfiles.

[!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/inboundSharedUserProfiles

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 inboundSharedUserProfile collection in the response body.

Examples

Request

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

[!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

{
    "value": [
        {
            "userId":"c228b2ae-c4fb-4eda-9620-7e73dddd1cac",
            "userPrincipalName":"bob@contoso.com",
            "displayName":"Bob",
            "homeTenantId":"486fb458-9474-4c44-896b-b30942d055f0"
        },
        {
            "userId":"5586b2ae-c4fb-4eda-9620-7e73dddd1cac",
            "userPrincipalName":"alice@fabrikam.com",
            "displayName":"Alice",
            "homeTenantId":"385ab357-9774-4c44-896b-a35942d755e8"
        }
    ]
}