Skip to content

Commit 943bee2

Browse files
committed
Fix acrolinx issues in driveitem-assignsensitivitylabel
1 parent 32aacd5 commit 943bee2

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

api-reference/beta/api/driveitem-assignsensitivitylabel.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Namespace: microsoft.graph
1515

1616
Asynchronously assign a sensitivity label to a [driveItem][item-resource].
1717

18-
This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered a protected API. Protected APIs require you to have more validation, beyond permission and consent, before you can use them.
18+
This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them.
1919

2020
For more information about sensitivity labels from an administrator's perspective, see [Enable sensitivity labels for Office files in SharePoint and OneDrive](/microsoft-365/compliance/sensitivity-labels-sharepoint-onedrive-files?view=o365-worldwide&preserve-view=true).
2121

@@ -74,7 +74,7 @@ If successful, the API returns a `202 Accepted` HTTP response code with an empty
7474
For more information about how to monitor the progress of an assign sensitivity label operation, see [monitoring long-running operations](/graph/long-running-actions-overview).
7575

7676
In addition to general errors that apply to Microsoft Graph, this API returns the `423 Locked` response code, which indicates that the file being accessed is locked. In such cases, the **code** property of the response object indicates the error type that blocks the operation.
77-
Also, Few Irm Protected sensitivity labels can't be updated by Application and need delegated user access to validate if the user has proper rights. For these scenarios, the API throws `Not Supported` response code.
77+
Also, some IRM Protected sensitivity labels can't be updated in app-only mode and need delegated user access to validate if the user has proper rights. For these scenarios, the API throws `Not Supported` response code.
7878

7979
The following table lists the possible values for the error types.
8080

@@ -120,10 +120,12 @@ The following example shows the response.
120120
HTTP/1.1 202 Accepted
121121
Location: https://contoso.sharepoint.com/_api/v2.0/monitor/QXNzaWduU2Vuc2l0aXZpdHlMYWJlbCxiMzc3ODY3OS04OWQ3LTRkYmYtYjg0MC1jYWM1NzRhY2FlNmE?tempAuth=eyJ0eXAiOiJKV1QiLCJhb....
122122
```
123-
The value of the `Location` header provides a URL for a service that will return the current state of the assign sensitivity label operation.
124-
You can use this information to [determine when the assign sensitivity label operation has finished](/graph/long-running-actions-overview).
123+
124+
The value of the `Location` header provides a URL for a service that will return the current state of the assignSensitivityLabel operation.
125+
You can use this information to [determine when the assignSensitivityLabel operation has finished](/graph/long-running-actions-overview).
125126

126127
### Remarks
127-
The response from the API only indicates that the assign sensitivity label operation was accepted or rejected. The operation might be rejected, for example, if the file type isn't supported, or the file is double encrypted.
128+
129+
The response from the API only indicates that the assignSensitivityLabel operation was accepted or rejected. The operation might be rejected, for example, if the file type isn't supported, or the file is double encrypted. Audit events for both success and failure cases are logged. For more information, see [Audit log activities](/purview/audit-log-activities#sensitivity-label-activities).
128130

129131
[item-resource]: ../resources/driveitem.md

api-reference/v1.0/api/driveitem-assignsensitivitylabel.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Namespace: microsoft.graph
1313

1414
Asynchronously assign a sensitivity label to a [driveItem][item-resource].
1515

16-
This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered a protected API. Protected APIs require you to have more validation, beyond permission and consent, before you can use them.
16+
This API is part of the Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions, and is considered as protected. Protected APIs require you to have more validations, beyond permission and consent, before you can use them.
1717

1818
For more information about sensitivity labels from an administrator's perspective, see [Enable sensitivity labels for Office files in SharePoint and OneDrive](/microsoft-365/compliance/sensitivity-labels-sharepoint-onedrive-files?view=o365-worldwide&preserve-view=true).
1919

@@ -72,7 +72,7 @@ If successful, the API returns a `202 Accepted` HTTP response code with an empty
7272
For more information about how to monitor the progress of an assignSensitivityLabel operation, see [monitoring long-running operations](/graph/long-running-actions-overview).
7373

7474
In addition to general errors that apply to Microsoft Graph, this API returns the `423 Locked` response code, which indicates that the file being accessed is locked. In such cases, the **code** property of the response object indicates the error type that blocks the operation.
75-
Also, Few Irm Protected sensitivity labels can't be updated by Application and need delegated user access to validate if the user has proper rights, and for these scenarios the API returns a `Not Supported` response code.
75+
Also, some IRM Protected sensitivity labels can't be updated in app-only mode and need delegated user access to validate if the user has proper rights, and for these scenarios the API returns a `Not Supported` response code.
7676

7777
The following table lists the possible values for the error types.
7878

@@ -118,10 +118,12 @@ The following example shows the response.
118118
HTTP/1.1 202 Accepted
119119
Location: https://contoso.sharepoint.com/_api/v2.0/monitor/QXNzaWduU2Vuc2l0aXZpdHlMYWJlbCxiMzc3ODY3OS04OWQ3LTRkYmYtYjg0MC1jYWM1NzRhY2FlNmE?tempAuth=eyJ0eXAiOiJKV1QiLCJhb....
120120
```
121+
121122
The value of the `Location` header provides a URL for a service that returns the current state of the assignSensitivityLabel operation.
122123
You can use this information to [determine when the assignSensitivityLabel operation finishes](/graph/long-running-actions-overview).
123124

124125
### Remarks
126+
125127
The response from the API only indicates that the assignSensitivityLabel operation was accepted or rejected. The operation might be rejected, for example, if the file type isn't supported, or the file is double encrypted. Audit events for both success and failure cases are logged. For more information, see [Audit log activities](/purview/audit-log-activities#sensitivity-label-activities).
126128

127129
[item-resource]: ../resources/driveitem.md

0 commit comments

Comments
 (0)