Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Get a list of the [allotment](../resources/cloudlicensing-allotment.md) objects and their properties.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Get a list of the [assignmentError](../resources/cloudlicensing-assignmenterror.md) objects within an organization or affecting a specific user.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Get a list of license [assignment](../resources/cloudlicensing-assignment.md) objects within an organization.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Create a new license [assignment](../resources/cloudlicensing-assignment.md) by

An assignment must always have a direct relationship to an allotment and to a user or group. If an assignment is created by posting to the central **assignments** collection located at `/admin/cloudLicensing/assignments`, both of those relationships must be established in the request body. Assignments can also be created by posting to the **assignments** collection of an allotment, the **assignments** collection of a user or the **assignments** collection of a group.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
2 changes: 1 addition & 1 deletion api-reference/beta/api/cloudlicensing-allotment-get.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Read the properties and relationships of an [allotment](../resources/cloudlicensing-allotment.md) object.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Get a list of license [assignment](../resources/cloudlicensing-assignment.md) objects which consume licenses from this allotment.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Get a list of over-assigned [users](../resources/cloudlicensing-waitingmember.md) who are in the waiting room due to license capacity limits. Use `/admin/cloudLicensing/allotments/{allotmentId}/waitingMembers` to retrieve all [waitingMember](../resources/cloudlicensing-waitingmember.md) objects for a specific allotment. Use `/users/{userId}/cloudLicensing/waitingMembers` to retrieve all allotments that a specific user is waiting for.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
2 changes: 1 addition & 1 deletion api-reference/beta/api/cloudlicensing-assignment-delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Delete an [assignment](../resources/cloudlicensing-assignment.md) object.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Get the [allotment](../resources/cloudlicensing-allotment.md) that is the source of the licenses used in the assignment.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Get a [user](../resources/directoryobject.md) or [group](../resources/directoryobject.md) object for a given [assignment](../resources/cloudlicensing-assignment.md) to which licenses are assigned.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
2 changes: 1 addition & 1 deletion api-reference/beta/api/cloudlicensing-assignment-get.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Read the properties and relationships of an [assignment](../resources/cloudlicensing-assignment.md) object.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
2 changes: 1 addition & 1 deletion api-reference/beta/api/cloudlicensing-assignment-update.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Update an [assignment](../resources/cloudlicensing-assignment.md) object to enable or disable services. Any service contained in its allotment which isn't listed in the **disabledServicePlanIds** array is enabled.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Get a [user](../resources/directoryobject.md) or [group](../resources/directoryobject.md) object for a given [assignmentError](../resources/cloudlicensing-assignmenterror.md) to which licenses are assigned.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Get a [usageRight](../resources/cloudlicensing-usageright.md) object affected by an [assignmentError](../resources/cloudlicensing-assignmenterror.md). A **usageRight** object is returned only if a preexisting one is in effect and can't be updated due to this **assignmentError**.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Read the properties and relationships of an [assignmentError](../resources/cloudlicensing-assignmenterror.md) object.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
2 changes: 1 addition & 1 deletion api-reference/beta/api/cloudlicensing-waitingmember-get.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Namespace: microsoft.graph.cloudLicensing

Read the properties and relationships of [waitingMember](../resources/cloudlicensing-waitingmember.md) object.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]

## Permissions

Expand Down
111 changes: 111 additions & 0 deletions api-reference/beta/api/mailfolder-importmime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
---
title: "mailFolder: importMime"
description: "Create a non-draft message in a mailFolder directly from MIME content, without submitting it to transport."
author: "Yesaket"
ms.localizationpriority: medium
ms.subservice: "outlook"
doc_type: apiPageType
ms.date: 09/23/2026
---

# mailFolder: importMime

Namespace: microsoft.graph

[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]

Create a non-draft [message](../resources/message.md) in a [mailFolder](../resources/mailfolder.md) directly from MIME content, without submitting it to transport.

Unlike [creating a message](mailfolder-post-messages.md), which always creates a draft, this action creates the message in a final, non-draft state. The message appears in the destination folder as if it was delivered; however, it doesn't go through transport, isn't stamped as sent, and never appears in the *Sent Items* folder. The action preserves the full MIME content, including internet message headers, body parts, and attachments.


## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).

<!-- { "blockType": "permissions", "name": "mailfolder_importmime" } -->
[!INCLUDE [permissions-table](../includes/permissions/mailfolder-importmime-permissions.md)]

## HTTP request

<!-- {
"blockType": "ignored"
}
-->
``` http
POST /me/mailFolders/{mailFolderId}/importMime
POST /users/{usersId}/mailFolders/{mailFolderId}/importMime
```

>**Note:** The `{mailFolderId}` can be a folder ID or a well-known folder name such as `inbox`.

## Request headers

|Name|Description|
|:---|:---|
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
|Content-Type|`text/plain`. Required.|

## Request body

In the request body, supply the MIME content of the message. Provide the applicable [Internet message headers](https://tools.ietf.org/html/rfc2076) and the [MIME content](https://tools.ietf.org/html/rfc2045), all Base64-encoded.

The entire request body is the Base64-encoded MIME content, with no JSON envelope or parameters. This API doesn't support editing or updating MIME properties individually.

## Response

If successful, this action returns a `201 Created` response code and a [message](../resources/message.md) object in the response body. The returned message has **isDraft** set to `false`.

If the request body includes malformed MIME content, this action returns a `400 Bad Request` response code and the following error message: `Invalid base64 string for MIME content.`

## Examples

### Request

The following example shows a request. The request body is the Base64-encoded MIME content, shortened for readability.

<!-- {
"blockType": "request",
"name": "mailfolder_importmime_beta"
}
-->
``` http
POST https://graph.microsoft.com/beta/me/mailFolders/inbox/importMime
Content-type: text/plain

RnJvbTogY29udG9zby1hbGVydHNAY29udG9zby5jb20NClRvOiB0ZXN0aW5nQGNvbnRvc28uY29t
DQpTdWJqZWN0OiBRdWFydGVybHkgcmVwb3J0DQpEYXRlOiBUaHUsIDI1IEp1biAyMDI2IDEwOjAw
OjAwIC0wNzAwDQpDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9InV0Zi04Ig0KDQpC
b2R5IG9mIHRoZSBpbXBvcnRlZCBtZXNzYWdlLg==
```

### Response

The following example shows the response.

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

<!-- {
"blockType": "response",
"truncated": true,
"@odata.type": "microsoft.graph.message"
}
-->
``` http
HTTP/1.1 201 Created
Content-type: application/json

{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#users('02d1914d-7abd-4621-a407-57b8bdeb1ada')/messages/$entity",
"id": "AAMkADE5MWM0YmM5LThjOWUtNGFhZi1hOTBhLWNmZDBiZDhhNTljMABGAAAA",
"createdDateTime": "2026-09-17T21:30:19Z",
"lastModifiedDateTime": "2026-09-17T21:30:20Z",
"receivedDateTime": "2026-09-17T21:30:20Z",
"sentDateTime": "2026-07-24T20:03:00Z",
"hasAttachments": false,
"subject": "Quarterly report",
"isRead": false,
"isDraft": false,
"parentFolderId": "AAMkADE5MWM0YmM5LThjOWUtNGFhZi1hOTBhLWNmZDBiZDhhNTljMAAuAAAA"
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Namespace: microsoft.graph

Update a [privilegedAccessGroupAssignmentScheduleRequest](../resources/privilegedaccessgroupassignmentschedulerequest.md) object with the result of a custom extension evaluation for a group membership or ownership assignment request.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]

## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Namespace: microsoft.graph

Delete a [roleManagementCustomCalloutExtension](../resources/rolemanagementcustomcalloutextension.md) object.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]

## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Namespace: microsoft.graph

Get a list of [roleManagementCustomCalloutExtension](../resources/rolemanagementcustomcalloutextension.md) objects configured for Privileged Identity Management (PIM).

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]

## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Namespace: microsoft.graph

Create a [roleManagementCustomCalloutExtension](../resources/rolemanagementcustomcalloutextension.md) object for Privileged Identity Management (PIM).

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]

## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Namespace: microsoft.graph

Read the properties of a [roleManagementCustomCalloutExtension](../resources/rolemanagementcustomcalloutextension.md) object.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]

## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Namespace: microsoft.graph

Update the properties of a [roleManagementCustomCalloutExtension](../resources/rolemanagementcustomcalloutextension.md) object.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]

## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Namespace: microsoft.graph.security.caseManagement

Delete an [slaPolicyDefinition](../resources/security-casemanagement-slapolicydefinition.md).

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]

## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Get the [slaPolicyDefinition](../resources/security-casemanagement-slapolicydefi

To review policies across the tenant, issue a separate request for each case type: `incidentCase`, `genericCase`, and `exposureCase`.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]

## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Create an [slaPolicyDefinition](../resources/security-casemanagement-slapolicyde

The owning case type is determined by the URL. A tenant can have up to 30 SLA policies across its case types.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]

## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Namespace: microsoft.graph.security.caseManagement

Get an [slaPolicyDefinition](../resources/security-casemanagement-slapolicydefinition.md), including its criteria and timers.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]

## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Update the properties of an [slaPolicyDefinition](../resources/security-casemana

Updating **timers** replaces the entire collection. Individual timers don't have their own update endpoint.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]

## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Get the [objectConnection](../resources/synchronization-objectconnection.md) cac

During public preview, you must specify a known **objectId**. Collection listing isn't supported; a GET request to the **objectConnections** collection returns `400 Bad Request`.

[!INCLUDE [national-cloud-support](../../includes/global-only.md)]

## 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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
Expand Down
Loading
Loading