Skip to content

Commit bd9088a

Browse files
authored
Overrride permissions automation for policy-specific hardware OATH token APIs
1 parent 8b83a2a commit bd9088a

13 files changed

+25
-54
lines changed

api-reference/beta/api/authenticationmethoddevice-delete-hardwareoathdevices.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ Delete a Hardware OATH token. Token needs to be unassigned.
2222

2323
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).
2424

25-
<!-- {
26-
"blockType": "permissions",
27-
"name": "authenticationmethoddevice-delete-hardwareoathdevices-permissions"
28-
}
29-
-->
25+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
3026
[!INCLUDE [permissions-table](../includes/permissions/authenticationmethoddevice-delete-hardwareoathdevices-permissions.md)]
3127

3228
[!INCLUDE [rbac-authentication-methods-policy-apis-write](../includes/rbac-for-apis/rbac-authentication-methods-policy-apis-write.md)]

api-reference/beta/api/authenticationmethoddevice-list-hardwareoathdevices.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ List all hardware OATH tokens in the directory.
2222

2323
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).
2424

25-
<!-- {
26-
"blockType": "permissions",
27-
"name": "authenticationmethoddevice-list-hardwareoathdevices-permissions"
28-
}
29-
-->
25+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
3026
[!INCLUDE [permissions-table](../includes/permissions/authenticationmethoddevice-list-hardwareoathdevices-permissions.md)]
3127

3228
[!INCLUDE [rbac-authentication-methods-policy-apis-read](../includes/rbac-for-apis/rbac-authentication-methods-policy-apis-read.md)]

api-reference/beta/api/authenticationmethoddevice-post-hardwareoathdevices.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ Create a new hardwareOathTokenAuthenticationMethodDevice object. You can optiona
2222

2323
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).
2424

25-
<!-- {
26-
"blockType": "permissions",
27-
"name": "authenticationmethoddevice-post-hardwareoathdevices-permissions"
28-
}
29-
-->
25+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
3026
[!INCLUDE [permissions-table](../includes/permissions/authenticationmethoddevice-post-hardwareoathdevices-permissions.md)]
3127

3228
[!INCLUDE [rbac-authentication-methods-policy-apis-write](../includes/rbac-for-apis/rbac-authentication-methods-policy-apis-write.md)]

api-reference/beta/api/authenticationmethoddevice-update.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ Create a new hardwareOathTokenAuthenticationMethodDevice object. Supports bulk c
2020

2121
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).
2222

23-
<!-- {
24-
"blockType": "permissions",
25-
"name": "authenticationmethoddevice-post-hardwareoathdevices-permissions"
26-
}
27-
-->
23+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
2824
[!INCLUDE [permissions-table](../includes/permissions/authenticationmethoddevice-post-hardwareoathdevices-permissions.md)]
2925

3026
[!INCLUDE [rbac-authentication-methods-policy-apis-write](../includes/rbac-for-apis/rbac-authentication-methods-policy-apis-write.md)]

api-reference/beta/api/hardwareoathtokenauthenticationmethoddevice-get.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ Read the properties and relationships of a [hardwareOathTokenAuthenticationMetho
2222

2323
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).
2424

25-
<!-- {
26-
"blockType": "permissions",
27-
"name": "hardwareoathtokenauthenticationmethoddevice-get-permissions"
28-
}
29-
-->
25+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
3026
[!INCLUDE [permissions-table](../includes/permissions/hardwareoathtokenauthenticationmethoddevice-get-permissions.md)]
3127

3228
[!INCLUDE [rbac-authentication-methods-policy-apis-read](../includes/rbac-for-apis/rbac-authentication-methods-policy-apis-read.md)]

api-reference/beta/api/hardwareoathtokenauthenticationmethoddevice-put-assignto.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@ Assign a hardware OATH token, represented by a [hardwareOathTokenAuthenticationM
2121

2222
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).
2323

24-
<!-- {
25-
"blockType": "permissions",
26-
"name": "hardwareoathtokenauthenticationmethoddevice-post-assignto-permissions"
27-
}
28-
-->
24+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
2925
[!INCLUDE [permissions-table](../includes/permissions/hardwareoathtokenauthenticationmethoddevice-post-assignto-permissions.md)]
3026

3127
[!INCLUDE [rbac-authentication-methods-policy-apis-write](../includes/rbac-for-apis/rbac-authentication-methods-policy-apis-write.md)]

api-reference/beta/api/hardwareoathtokenauthenticationmethoddevice-update.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ Update the properties of a [hardwareOathTokenAuthenticationMethodDevice](../reso
2222

2323
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).
2424

25-
<!-- {
26-
"blockType": "permissions",
27-
"name": "hardwareoathtokenauthenticationmethoddevice-update-permissions"
28-
}
29-
-->
25+
<!-- { "blockType": "ignored" } // Note: Removing this line will result in the permissions autogeneration tool overwriting the table. -->
3026
[!INCLUDE [permissions-table](../includes/permissions/hardwareoathtokenauthenticationmethoddevice-update-permissions.md)]
3127

3228
[!INCLUDE [rbac-authentication-methods-policy-apis-write](../includes/rbac-for-apis/rbac-authentication-methods-policy-apis-write.md)]

api-reference/beta/includes/permissions/authenticationmethoddevice-delete-hardwareoathdevices-permissions.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ ms.topic: include
44
ms.localizationpriority: medium
55
---
66

7-
|Permission type|Least privileged permission|Higher privileged permissions|
7+
|Permission type|Least privileged permissions|Higher privileged permissions|
88
|:---|:---|:---|
9-
|Delegated (work or school account)|Not supported.|Not supported.|
9+
|Delegated (work or school account)|Policy.ReadWrite.AuthenticationMethod|Not available.|
1010
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
11-
|Application|Not supported.|Not supported.|
12-
11+
|Application|Policy.ReadWrite.AuthenticationMethod|Not available.|

api-reference/beta/includes/permissions/authenticationmethoddevice-list-hardwareoathdevices-permissions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ ms.topic: include
44
ms.localizationpriority: medium
55
---
66

7-
|Permission type|Least privileged permission|Higher privileged permissions|
7+
|Permission type|Least privileged permissions|Higher privileged permissions|
88
|:---|:---|:---|
9-
|Delegated (work or school account)|Not supported.|Not supported.|
9+
|Delegated (work or school account)|Policy.Read.All|Policy.ReadWrite.AuthenticationMethod|
1010
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
11-
|Application|Not supported.|Not supported.|
11+
|Application|Policy.Read.All|Policy.ReadWrite.AuthenticationMethod|
1212

api-reference/beta/includes/permissions/authenticationmethoddevice-post-hardwareoathdevices-permissions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ ms.topic: include
44
ms.localizationpriority: medium
55
---
66

7-
|Permission type|Least privileged permission|Higher privileged permissions|
7+
|Permission type|Least privileged permissions|Higher privileged permissions|
88
|:---|:---|:---|
9-
|Delegated (work or school account)|Not supported.|Not supported.|
9+
|Delegated (work or school account)|Policy.ReadWrite.AuthenticationMethod|Not available.|
1010
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
11-
|Application|Not supported.|Not supported.|
11+
|Application|Policy.ReadWrite.AuthenticationMethod|Not available.|
1212

0 commit comments

Comments
 (0)