| title | Get outboundSharedUserProfile |
|---|---|
| description | Get the details of an outboundSharedUserProfile. |
| author | yyuank |
| ms.reviewer | mapamu, iamut |
| ms.localizationpriority | medium |
| ms.subservice | entra-sign-in |
| doc_type | apiPageType |
| ms.date | 05/16/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Get the details of an outboundSharedUserProfile.
[!INCLUDE national-cloud-support]
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]
A user can retrieve their own outboundSharedUserProfile data when the app is granted the CrossTenantUserProfileSharing.Read delegated permission on their behalf.
[!INCLUDE rbac-cross-tenant-access-shared-user-profiles-apis-read]
GET /directory/outboundSharedUserProfiles/{userId}| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK response code and a outboundSharedUserProfile object in the response body.
GET https://graph.microsoft.com/beta/directory/outboundSharedUserProfiles/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]
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#directory/outboundSharedUserProfiles/$entity",
"userId": "c228b2ae-c4fb-4eda-9620-7e73dddd1cac"
}