Edit

Share via


Get copilotAdminLimitedMode

Important

APIs under the /beta version are subject to change. Use of these APIs in production applications is not supported.

Read the properties and relationships of a copilotAdminLimitedMode object.

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.

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) CopilotSettings-LimitedMode.Read CopilotSettings-LimitedMode.ReadWrite
Delegated (personal Microsoft account) Not supported. Not supported.
Application Not supported. Not supported.

Important

Global Reader is the least privileged administrator role supported for this operation.

HTTP request

GET https://graph.microsoft.com/v1.0/copilot/admin/settings/limitedMode
GET https://graph.microsoft.com/beta/copilot/admin/settings/limitedMode

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

This API can also return more HTTP status codes, such as 403 Forbidden, 500 Internal Server Error, and 429 Too Many Requests.

Example

Request

The following example shows a request.

GET https://graph.microsoft.com/v1.0/copilot/admin/settings/limitedMode
GET https://graph.microsoft.com/beta/copilot/admin/settings/limitedMode

Response

The following example shows the response.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "@odata.type": "#microsoft.graph.copilotAdminLimitedMode",
  "isEnabledForGroup": true,
  "groupId": "4c563cdf-0efa-44c5-a384-dbf57db277df"
}