title | description | ms.localizationpriority | author | ms.subservice | doc_type | ms.date |
---|---|---|---|---|---|---|
Update adminReportSettings |
Update tenant-level settings for Microsoft 365 reports. |
medium |
ganggao |
reports |
apiPageType |
09/10/2024 |
Namespace: microsoft.graph
Update tenant-level settings for Microsoft 365 reports.
[!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]
Note: For delegated permissions to allow apps to update report settings on behalf of a user, the tenant administrator must have assigned the user the appropriate Microsoft Entra ID limited administrator role. For more information, see Authorization for APIs to read Microsoft 365 usage reports.
PATCH /admin/reportSettings
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Content-Type | application/json. Required. |
[!INCLUDE table-intro]
Property | Type | Description |
---|---|---|
displayConcealedNames | Boolean | If set to true , all reports conceal user information such as usernames, groups, and sites. If false , all reports show identifiable information. This property represents a setting in the Microsoft 365 admin center. Required. |
If successful, this method returns a 204 No Content
response code.
The following example shows a request that updates a tenant-level setting for Microsoft 365 reports.
The following example shows a request.
PATCH https://graph.microsoft.com/v1.0/admin/reportSettings
Content-Type: application/json
Content-length: 37
{
"displayConcealedNames": true
}
[!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]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
The following example shows the response.
HTTP/1.1 204 No Content