Skip to content

Latest commit

 

History

History
120 lines (86 loc) · 3.97 KB

File metadata and controls

120 lines (86 loc) · 3.97 KB
title Get inboundSharedUserProfile
description Read the properties of an inboundSharedUserProfile.
author yyuank
ms.reviewer mapamu, iamut
ms.localizationpriority medium
ms.subservice entra-sign-in
doc_type apiPageType
ms.date 05/16/2024

Get inboundSharedUserProfile

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Read the properties of an inboundSharedUserProfile.

[!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/{userId}

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

Examples

Request

GET https://graph.microsoft.com/beta/directory/inboundSharedUserProfiles/c228b2ae-c4fb-4eda-9620-7e73dddd1cac

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

{
    "userId": "c228b2ae-c4fb-4eda-9620-7e73dddd1cac",
    "userPrincipalName": "bob@contoso.com",
    "displayName": "Bob",
    "homeTenantId": "486fb458-9474-4c44-896b-b30942d055f0"
}