Skip to content

Commit 3aa0f51

Browse files
authored
Merge pull request #26708 from microsoftgraph/main
Merge to publish.
2 parents d48ed67 + e91257d commit 3aa0f51

File tree

222 files changed

+3631
-1290
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+3631
-1290
lines changed

api-reference/beta/api/application-list.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ Content-type: application/json
470470

471471
The following example shows a request. This request requires the **ConsistencyLevel** header set to `eventual` because `$count` is in the request. For more information about the use of **ConsistencyLevel** and `$count`, see [Advanced query capabilities on directory objects](/graph/aad-advanced-queries).
472472

473+
# [HTTP](#tab/http)
473474
<!-- {
474475
"blockType": "request",
475476
"name": "list_application_filteridentifieruris"
@@ -479,6 +480,40 @@ GET https://graph.microsoft.com/beta/applications?$filter=identifierUris/any(x:s
479480
ConsistencyLevel: eventual
480481
```
481482

483+
# [C#](#tab/csharp)
484+
[!INCLUDE [sample-code](../includes/snippets/csharp/list-application-filteridentifieruris-csharp-snippets.md)]
485+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
486+
487+
# [CLI](#tab/cli)
488+
[!INCLUDE [sample-code](../includes/snippets/cli/list-application-filteridentifieruris-cli-snippets.md)]
489+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
490+
491+
# [Go](#tab/go)
492+
[!INCLUDE [sample-code](../includes/snippets/go/list-application-filteridentifieruris-go-snippets.md)]
493+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
494+
495+
# [Java](#tab/java)
496+
[!INCLUDE [sample-code](../includes/snippets/java/list-application-filteridentifieruris-java-snippets.md)]
497+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
498+
499+
# [JavaScript](#tab/javascript)
500+
[!INCLUDE [sample-code](../includes/snippets/javascript/list-application-filteridentifieruris-javascript-snippets.md)]
501+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
502+
503+
# [PHP](#tab/php)
504+
[!INCLUDE [sample-code](../includes/snippets/php/list-application-filteridentifieruris-php-snippets.md)]
505+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
506+
507+
# [PowerShell](#tab/powershell)
508+
[!INCLUDE [sample-code](../includes/snippets/powershell/list-application-filteridentifieruris-powershell-snippets.md)]
509+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
510+
511+
# [Python](#tab/python)
512+
[!INCLUDE [sample-code](../includes/snippets/python/list-application-filteridentifieruris-python-snippets.md)]
513+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
514+
515+
---
516+
482517
#### Response
483518

484519
The following example shows the response.

api-reference/beta/api/educationassignment-post-resources.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,7 @@ The following example shows how to create an [educationSpeakerProgressResource](
823823

824824
The following example shows a request.
825825

826+
# [HTTP](#tab/http)
826827
<!-- {
827828
"blockType": "request",
828829
"name": "create_educationSpeakerProgressResource"
@@ -861,6 +862,40 @@ Content-Type: application/json
861862
}
862863
```
863864

865+
# [C#](#tab/csharp)
866+
[!INCLUDE [sample-code](../includes/snippets/csharp/create-educationspeakerprogressresource-csharp-snippets.md)]
867+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
868+
869+
# [CLI](#tab/cli)
870+
[!INCLUDE [sample-code](../includes/snippets/cli/create-educationspeakerprogressresource-cli-snippets.md)]
871+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
872+
873+
# [Go](#tab/go)
874+
[!INCLUDE [sample-code](../includes/snippets/go/create-educationspeakerprogressresource-go-snippets.md)]
875+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
876+
877+
# [Java](#tab/java)
878+
[!INCLUDE [sample-code](../includes/snippets/java/create-educationspeakerprogressresource-java-snippets.md)]
879+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
880+
881+
# [JavaScript](#tab/javascript)
882+
[!INCLUDE [sample-code](../includes/snippets/javascript/create-educationspeakerprogressresource-javascript-snippets.md)]
883+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
884+
885+
# [PHP](#tab/php)
886+
[!INCLUDE [sample-code](../includes/snippets/php/create-educationspeakerprogressresource-php-snippets.md)]
887+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
888+
889+
# [PowerShell](#tab/powershell)
890+
[!INCLUDE [sample-code](../includes/snippets/powershell/create-educationspeakerprogressresource-powershell-snippets.md)]
891+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
892+
893+
# [Python](#tab/python)
894+
[!INCLUDE [sample-code](../includes/snippets/python/create-educationspeakerprogressresource-python-snippets.md)]
895+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
896+
897+
---
898+
864899
#### Response
865900

866901
The following example shows the response.

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

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,7 @@ The following example shows how to get an [educationSpeakerProgressResource](../
598598

599599
The following example shows a request.
600600

601+
# [HTTP](#tab/http)
601602
<!-- {
602603
"blockType": "request",
603604
"name": "specific_educationSpeakerProgressResource"
@@ -607,6 +608,40 @@ The following example shows a request.
607608
GET https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f7d40e4a2070/assignments/fe9c8d6f-baad-4b5e-b9d5-e2bb33e4ed19/resources/af98a1e1-3393-4ee0-8bcc-8b5bb4598d1c
608609
```
609610

611+
# [C#](#tab/csharp)
612+
[!INCLUDE [sample-code](../includes/snippets/csharp/specific-educationspeakerprogressresource-csharp-snippets.md)]
613+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
614+
615+
# [CLI](#tab/cli)
616+
[!INCLUDE [sample-code](../includes/snippets/cli/specific-educationspeakerprogressresource-cli-snippets.md)]
617+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
618+
619+
# [Go](#tab/go)
620+
[!INCLUDE [sample-code](../includes/snippets/go/specific-educationspeakerprogressresource-go-snippets.md)]
621+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
622+
623+
# [Java](#tab/java)
624+
[!INCLUDE [sample-code](../includes/snippets/java/specific-educationspeakerprogressresource-java-snippets.md)]
625+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
626+
627+
# [JavaScript](#tab/javascript)
628+
[!INCLUDE [sample-code](../includes/snippets/javascript/specific-educationspeakerprogressresource-javascript-snippets.md)]
629+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
630+
631+
# [PHP](#tab/php)
632+
[!INCLUDE [sample-code](../includes/snippets/php/specific-educationspeakerprogressresource-php-snippets.md)]
633+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
634+
635+
# [PowerShell](#tab/powershell)
636+
[!INCLUDE [sample-code](../includes/snippets/powershell/specific-educationspeakerprogressresource-powershell-snippets.md)]
637+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
638+
639+
# [Python](#tab/python)
640+
[!INCLUDE [sample-code](../includes/snippets/python/specific-educationspeakerprogressresource-python-snippets.md)]
641+
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
642+
643+
---
644+
610645
### Response
611646

612647
The following example shows the response.

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ GET https://graph.microsoft.com/beta/copilot/settings/people/enhancedpersonaliza
9898

9999
---
100100

101-
102101
### Response
103102

104103
The following example shows the response.

api-reference/beta/api/entitlementmanagement-post-accesspackageresourcerequests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Choose the permission or permissions marked as least privileged for this API. Us
4545
> - If using delegated permissions, the user requesting to add an application should be an owner of the application or in a directory role that allows them to modify application role assignments.
4646
> - If using application permissions, the application requesting to add the [servicePrincipal](../resources/serviceprincipal.md) should also be assigned the *Application.ReadWrite.All* permission.
4747
> - To add a SharePoint Online site as a resource to a catalog:
48-
> - If using delegated permissions, the user who wants to add the site should be in a role that allows them to modify the SharePoint site roles, such as the *SharePoint Administrator* role.
48+
> - If using delegated permissions, the user must be assigned the *SharePoint Administrator* role or be an administrator of the SharePoint site.
4949
> - If using application permissions, the application should also be assigned the `Sites.FullControl.All` permission.
5050
5151
## HTTP request

api-reference/beta/api/peopleadminsettings-list-profilepropertysettings.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ Get a collection of [profilePropertySetting](../resources/profilepropertysetting
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": "peopleadminsettings-list-profilepropertysettings-permissions"
26-
}
27-
-->
23+
<!-- { "blockType": "permissions", "name": "peopleadminsettings_list_profilepropertysettings" } -->
2824
[!INCLUDE [permissions-table](../includes/permissions/peopleadminsettings-list-profilepropertysettings-permissions.md)]
2925

3026
## HTTP request

api-reference/beta/api/peopleadminsettings-post-profilepropertysettings.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ Create a new [profilePropertySetting](../resources/profilepropertysetting.md) ob
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": "peopleadminsettings-post-profilepropertysettings-permissions"
26-
}
27-
-->
23+
<!-- { "blockType": "permissions", "name": "peopleadminsettings_post_profilepropertysettings" } -->
2824
[!INCLUDE [permissions-table](../includes/permissions/peopleadminsettings-post-profilepropertysettings-permissions.md)]
2925

3026
>**Note:** To use delegated permissions for this operation, the signed-in user must have either the [Global Administrator](/entra/identity/role-based-access-control/permissions-reference#global-administrator) role or the [People Administrator](/entra/identity/role-based-access-control/permissions-reference#people-administrator) role.

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ Read the properties and relationships of a [profilePropertySetting](../resources
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": "profilepropertysetting-get-permissions"
26-
}
27-
-->
23+
<!-- { "blockType": "permissions", "name": "profilepropertysetting_get" } -->
2824
[!INCLUDE [permissions-table](../includes/permissions/profilepropertysetting-get-permissions.md)]
2925

3026
## HTTP request

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ Update the properties of a [profilePropertySetting](../resources/profileproperty
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": "profilepropertysetting-update-permissions"
26-
}
27-
-->
23+
<!-- { "blockType": "permissions", "name": "profilepropertysetting_update" } -->
2824
[!INCLUDE [permissions-table](../includes/permissions/profilepropertysetting-update-permissions.md)]
2925

3026
>**Note:** To use delegated permissions for this operation, the signed-in user must have either the [Global Administrator](/entra/identity/role-based-access-control/permissions-reference#global-administrator) role or the [People Administrator](/entra/identity/role-based-access-control/permissions-reference#people-administrator) role.

0 commit comments

Comments
 (0)