Skip to content

Latest commit

 

History

History
103 lines (79 loc) · 2.81 KB

File metadata and controls

103 lines (79 loc) · 2.81 KB
title List Exchange settings
description Get a list of Exchange mailboxes that belong to a user.
author cparker-msft
ms.date 02/23/2026
ms.localizationpriority medium
ms.subservice outlook
doc_type apiPageType

List Exchange settings

Namespace: microsoft.graph

Get a list of Exchange mailboxes that belong to a user. Currently, the mailbox types supported are the user's primary mailbox and shared mailboxes. To learn how to get a list of users in a tenant, see List users.

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

HTTP request

GET /users/{id}/settings/exchange

Optional query parameters

This method doesn't support the OData query parameters to help customize the response.

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

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/v1.0/users/megan@contoso.com/settings/exchange

Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-type: application/json
Content-length: 232

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('megan%40contoso.com')/settings/exchange/$entity",
    "primaryMailboxId": "MBX:e0643f21@a7809c93"
}